public async Task TestGetStatus() { var client = _testinghost.GetServiceProxyProvider("DemoService"); _testinghost.Host.MicrodotHostingConfigMock.StatusEndpoints = new List <string>(new [] { "/myStatus" }); _testinghost.Host.MicrodotHostingConfigMock.ShouldLogStatusEndpoint = true; var httpClient = new HttpClient(); var uri = $"http://localhost:{_testinghost.BasePort}/myStatus"; var response = await httpClient.GetAsync(uri); Assert.NotNull(response); Assert.AreEqual(HttpStatusCode.OK, response.StatusCode); }