Example #1
0
 public void Static_IsGroup_ShouldThrowArgumentException(string subject, bool result)
 {
     Assert.Throws <ArgumentException>(() =>
     {
         Assert.AreEqual(result, AuthTools.IsGroup(subject), "Wrong result");
     });
 }
Example #2
0
 public void Static_IsGroup(string subject, bool result)
 {
     Assert.AreEqual(result, AuthTools.IsGroup(subject), "Wrong result");
 }