public async Task LocateOfT_Fail() { var locator = new MockLocator(); await locator.Test("223.91.188.112", new HttpClient()); await locator.TestMock("223.91.188.112", new HttpClient(), new MockLogger()); }
public async Task LocateOfT_Ok() { System.Text.Encoding.RegisterProvider(System.Text.CodePagesEncodingProvider.Instance); var locator = new MockLocator(); await locator.Test("", null); await locator.Test("223.91.188.112", new HttpClient()); await locator.Test("223.91.188.112", new HttpClient(), new MockLogger()); await locator.TestMock("223.91.188.112", new HttpClient(), new MockLogger()); }