예제 #1
0
 public void ArgumentHasLengthArgumentHasElementsWithMessage()
 {
     AssertUtils.ArgumentHasLength(new byte[1], "foo", "Bang!");
 }
예제 #2
0
 public void ArgumentHasLengthArgumentIsEmptyWithMessage()
 {
     Assert.Throws <ArgumentNullException>(() => AssertUtils.ArgumentHasLength(new byte[0], "foo", "Bang!"));
 }
예제 #3
0
 public void ArgumentHasLengthArgumentHasElements()
 {
     AssertUtils.ArgumentHasLength(new byte[1], "foo");
 }
예제 #4
0
 public void ArgumentHasLengthArgumentIsNull()
 {
     Assert.Throws <ArgumentNullException>(() => AssertUtils.ArgumentHasLength(null, "foo"));
 }