Пример #1
0
        public async Task TestGetAreasAsyncBeSucess()
        {
            _areaService.Setup(x => x.GetAreaAsync()).ReturnsAsync(_areasModel);

            var callback = await _productionController.GetAreasAsync();

            callback.Should().BeAssignableTo <OkObjectResult>();
        }