Пример #1
0
        protected async Task <object> TestGet(ITestClient client, string apiUrl, string[] expectedFields)
        {
            var response = await client.GetJsonAsync(apiUrl);

            AssertHelper.AssertArray(response, expectedFields);

            return(response);
        }