public void CheckIpAddressValidIpTest(string ipAddressValue) { var mock = new Mock <INetworkAddressRepository>(); var serviceInstance = new HomeService(mock.Object); Assert.True(serviceInstance.CheckIpAddress(ipAddressValue)); }
public void CheckIpAddressValidIpTest(string ipAddressValue) { var mock = new Mock <INetworkAddressRepository>(); var serviceInstance = new HomeService(mock.Object); Assert.True(serviceInstance.CheckIpAddress(ipAddressValue)); }