public void IsNotNullShouldNotRaiseExceptionIfNotNull() { object foo = new object(); var result = AssertArg.IsNotNull(foo, nameof(foo)); Assert.AreEqual(foo, result); }
public void IsNotNullShouldRaiseExceptionIfNull() { object foo = null; AssertArg.IsNotNull(foo, nameof(IsNotNullShouldRaiseExceptionIfNull)); }