private static ReflectionMethodInfo GetMethodInfo(Type testClass, string methodName) { var method = testClass.GetMethod(methodName); var retval = new ReflectionMethodInfo(method); return(retval); }
private static IAttributeInfo GetFactAttribute(ReflectionMethodInfo methodInfo) { var customAttributes = methodInfo.GetCustomAttributes(FactAttributeType); var retval = customAttributes.Single(); return(retval); }