public async Task <string> ReadContent(JsonStringResult result) { var httpResponse = await result.ExecuteAsync(new CancellationToken()); var content = httpResponse.Content as StringContent; // Assert Assert.IsNotNull(content); return(await content.ReadAsStringAsync()); }