コード例 #1
0
 public void TestIncorrectEventArgs()
 {
     EventArgsSuffixIsEventArgsRule rule = new EventArgsSuffixIsEventArgsRule();
     Assertion.AssertNotNull(rule.Check(typeof(IncorrectEventArgsWithWrongSuffix)));
 }
コード例 #2
0
 public void TestCorrectEventArgs()
 {
     EventArgsSuffixIsEventArgsRule rule = new EventArgsSuffixIsEventArgsRule();
     Assertion.AssertNull(rule.Check(typeof(CorrectEventArgs)));
 }