public void Return_Null_If_The_Address_Is_Invalid(string input) { Assert.That(HttpContextControllerInformationProvider.MatchIPAddress(input), Is.Null); }
public void Return_The_Valid_Address(string inputString, string expectedOutput) { var result = HttpContextControllerInformationProvider.MatchIPAddress(inputString); Assert.That(result, Is.EqualTo(expectedOutput)); }