public void MatchesFalseTest() { var rule = new DoesNotHaveGenericMethods(); var typeToIntercept = typeof(UnityContainerExtensions); var typeOfInstance = typeof(UnityContainerExtensions); var actual = rule.Matches(typeToIntercept, typeOfInstance); Assert.AreEqual(false, actual); }
public void DoesNotHaveGenericMethodsConstructorTest() { var target = new DoesNotHaveGenericMethods(); Assert.IsNotNull(target); }