Example #1
0
 public void Add_comment_Test()
 {
     var target = new UserAgentEntry();
     Entry entry = new CommentEntry();
     target.AddEntry(entry);
     Assert.NotEmpty(target.Entries);
     Assert.Empty(target.AllowEntries);
     Assert.Empty(target.DisallowEntries);
 }
Example #2
0
 public void EntryType_Test()
 {
     var target = new CommentEntry();
     Assert.AreEqual(EntryType.Comment, target.Type);
 }