コード例 #1
0
        public static void AssertMethodIsValid(string methodName)
        {
            var method = GetValidMethod(methodName);

            Assert.IsTrue(StepDefinition.IsValidMethod(method));
        }
コード例 #2
0
        static void AssertMethodIsInvalid(string methodName)
        {
            var method = GetInvalidMethod(methodName);

            Assert.IsFalse(StepDefinition.IsValidMethod(method));
        }
コード例 #3
0
        private void AssertMethodIsValid(string methodName)
        {
            var method = Reflection.GetMethod(typeof(ValidNorwegianSteps), methodName);

            Assert.IsTrue(StepDefinition.IsValidMethod(method));
        }