Beispiel #1
0
        public async Task ShouldSetAccessToken()
        {
            var response = await _service.GetAll(new Models.GetAllRequest());

            Assert.NotNull(response);
            Assert.NotEmpty(response.Items);
            Assert.Equal(100, response.Items.Count);
        }
Beispiel #2
0
        public async Task GetOrderStates()
        {
            var result = await _service.GetAll();

            Assert.NotNull(result);
            Assert.NotEmpty(result.Items);
            Assert.True(result.TotalCount > 0);
            Assert.Equal(result.TotalCount, result.Items.Count);
        }
Beispiel #3
0
        public async Task <mds::GetAllOrderStateResponse> GetAll([FromQuery] mds::GetAllRequest request)
        {
            _logger.LogInformation("Executing {Action} {Message}", nameof(GetAll), request);

            return(await _service.GetAll(request).ConfigureAwait(false));
        }