public void TestIncorrectEventArgs() { EventArgsSuffixIsEventArgsRule rule = new EventArgsSuffixIsEventArgsRule(); Assertion.AssertNotNull(rule.Check(typeof(IncorrectEventArgsWithWrongSuffix))); }
public void TestCorrectEventArgs() { EventArgsSuffixIsEventArgsRule rule = new EventArgsSuffixIsEventArgsRule(); Assertion.AssertNull(rule.Check(typeof(CorrectEventArgs))); }