Exemplo n.º 1
0
        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());
        }