public void WhenIsNotNull_ThenThrowException() { Assert.DoesNotThrow(() => ArgMustBe.NotNullDependency(new object())); }
public void WhenIsNull_ThenThrowException() { Assert.Throws <DependencyNullException>(() => ArgMustBe.NotNullDependency(null as object)); }