public void TestGetActionResult() { var response = api.GetActionResult(); var stream = response.Content.ReadAsStreamAsync().Result; using (var reader = new System.IO.StreamReader(stream)) { var s = reader.ReadToEnd(); Assert.Equal("\"abcdefg\"", s); } }