public void WhenIsNotNull_ThenDoesNotThrowException() { var param = new object(); Assert.DoesNotThrow(() => ArgMustBe.NotNull(param)); }
public void WhenIsNull_ThenThrowException() { object param = null; Assert.Throws <ArgumentNullException>(() => ArgMustBe.NotNull(param)); }