public void WhenIsNotDefault_ThenDoesNotThrowException() { const int param = 1; Assert.DoesNotThrow(() => ArgMustBe.NotDefault(param)); }
public void WhenIsDefault_ThenThrowException() { const int param = default; Assert.Throws <ArgumentDefaultException>(() => ArgMustBe.NotDefault(param)); }