private ArgumentMatches_WhenArgumentNameIsNullOrEmpty_MustNotThrow ( ) : void | ||
return | void |
public void ArgumentMatches_WhenArgumentNameIsNullOrEmpty_MustNotThrow()
{
Assert.DoesNotThrow(() => Ensure.ArgumentMatches(true, string.Empty, null, "message"));
Assert.DoesNotThrow(() => Ensure.ArgumentMatches(true, string.Empty, string.Empty, "message"));
}