public void WhenRequestingRootThenRootShouldRespond() { var response = _httpClient.GetAsync("http://localhost/").Result; Assert.Equal("RootController", response.Content.ReadAsStringAsync().Result); }