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