コード例 #1
0
 public void Pattern_2at4_2at4()
 {
     var exception = new WrongLexicalRuleException("2@4");
     Assert.That(exception.Pattern, Is.EqualTo("2@4"));
 }
コード例 #2
0
 public void Message_2at4_WrongLexical2at4()
 {
     var exception = new WrongLexicalRuleException("2@4");
     Assert.That(exception.Message, Is.EqualTo("Wrong lexical rule '2@4'"));
 }