GetPassingTest() public static method

public static GetPassingTest ( ) : MethodInfo
return System.Reflection.MethodInfo
Exemplo n.º 1
0
        public void Should_work()
        {
            var methodInfo = MockNUnitTestClass.GetPassingTest();
            var testMethod = new TestMethod(methodInfo);

            testMethod.ShouldNotBeNull();
        }
Exemplo n.º 2
0
        protected override void Before_all_tests()
        {
            base.Before_all_tests();

            _methodInfo = MockNUnitTestClass.GetPassingTest();
            _testMethod = new TestMethod(_methodInfo);
            _testMethod.ShouldNotBeNull();
        }