示例#1
0
 public void WhenIsNotNull_ThenThrowException()
 {
     Assert.DoesNotThrow(() => ArgMustBe.NotNullDependency(new object()));
 }
示例#2
0
 public void WhenIsNull_ThenThrowException()
 {
     Assert.Throws <DependencyNullException>(() => ArgMustBe.NotNullDependency(null as object));
 }