public void IsOfTypeShouldNotRaiseExceptionIfNotNull() { object foo = new object(); var result = AssertArg.IsOfType <object>(foo, nameof(foo)); Assert.AreEqual(foo, result); }
public void IsOfTypeShouldRaiseExceptionIfNotOfType() { object foo = new object(); AssertArg.IsOfType <string>(foo, nameof(foo)); }