コード例 #1
0
        public void ShouldNotFailOnMultipleDisposeWithoutEvenUsingOnceCalls()
        {
            var postscriptValidator = new PostScriptValidator.PostScriptValidator();

            postscriptValidator.Dispose();
            postscriptValidator.Dispose();
        }
コード例 #2
0
        public void ShouldNotFailOnMultipleDisposeCalls()
        {
            var postscriptValidator = new PostScriptValidator.PostScriptValidator();

            postscriptValidator.Validate(@"./TestData/valid.ps");
            postscriptValidator.Dispose();
            postscriptValidator.Dispose();
        }