public async void TestGetActionResult() { var m = await api.GetActionResultAsync(); Assert.Equal(System.Net.HttpStatusCode.OK, m.StatusCode); var s = await m.Content.ReadAsStringAsync(); Assert.Equal("\"abcdefg\"", s); }