public void TestMethodWithTimeoutParameter() { Type testClassType = typeof(TimeoutTestClass); MethodInfo methodInfo = testClassType.GetMethod("TestAttributeWithTimeoutParameter"); Assert.True(MethodUtility.HasTimeout(Reflector.Wrap(methodInfo))); }