public void IsNotNullOrWhiteSpace_ShouldThrowArgumentNullException_WhenArgumentIsNull(string argumentValue, string argumentName, string message) { var argumentNullException = Assert.Throws <ArgumentNullException>(() => AssertArgument.NotNullOrWhiteSpace(argumentValue, argumentName, message)); argumentNullException.ParamName.Should().Be(argumentName); }
public void IsNotNullOrWhiteSpace_ShouldNotThrowException_WithValidArgument() { AssertArgument.NotNullOrWhiteSpace("Hello", "Name", "message"); }