示例#1
0
 public void WhenNotWhitespace_DoesNotThrow()
 {
     RequireThat.NotNullOrWhitespace("value", "name");
 }
示例#2
0
 public void WhenWhitespace_ThrowsException()
 {
     Assert.Throws <ArgumentException>(
         () => RequireThat.NotNullOrWhitespace(" ", "name"));
 }