public void GreaterTestNullCheck() { // ReSharper disable once AssignNullToNotNullAttribute // ReSharper disable once ReturnValueOfPureMethodIsNotUsed Action test = () => IComparableTEx.Greater(null, ""); Assert.Throws <ArgumentNullException>(test); }
public void BetweenInclusiveTestNullCheck() { // ReSharper disable once AssignNullToNotNullAttribute // ReSharper disable once ReturnValueOfPureMethodIsNotUsed Action test = () => IComparableTEx.BetweenInclusive(null, "", ""); test.ShouldThrow <ArgumentNullException>(); }
public void GreaterOrEqualsTestNullCheck() { // ReSharper disable once AssignNullToNotNullAttribute // ReSharper disable once ReturnValueOfPureMethodIsNotUsed Action test = () => IComparableTEx.GreaterOrEquals(null, ""); test.ShouldThrow <ArgumentNullException>(); }