public void IsTestMethodReturnsTrueForKnownMbUnitFrameworkTestMethod() { method.MockDeclaringType.MockProjectContent.ProjectAsIProject.FileName = @"d:\projects\test.vbproj"; mbUnitTestFramework.AddTestMethod(method); Assert.IsTrue(testFrameworks.IsTestMethod(method)); }
public void IsTestMethodReturnsTrueIfMethodMatchesMethodPreviouslySpecified() { MockMethod method = MockMethod.CreateMockMethodWithoutAnyAttributes(); testFramework.AddTestMethod(method); Assert.IsTrue(testFramework.IsTestMethod(method)); }
public void IsTestMethodReturnsTrueForKnownMbUnitFrameworkTestMethod() { MockMethod method = MockMethod.CreateMockMethodWithoutAnyAttributes(); method.MockDeclaringType.MockProjectContent.ProjectAsIProject.FileName = @"d:\projects\test.vbproj"; mbUnitTestFramework.AddTestMethod(method); Assert.IsTrue(testFrameworks.IsTestMethod(method)); }