AOUT.CH3.LogAn.Tests.LogAnalyzerUsingFactoryMethodTests.overrideTestWithoutStub C# (CSharp) Method

overrideTestWithoutStub() private method

private overrideTestWithoutStub ( ) : void
return void
        public void overrideTestWithoutStub()
        {
            TestableLogAnalyzerWithNoStub logan = new TestableLogAnalyzerWithNoStub();
            logan.IsSupported = false;

            bool result = logan.IsValidLogFileName("file.ext");
            Assert.IsFalse(result,"File name should be too short to be considered valid");
        }
LogAnalyzerUsingFactoryMethodTests