public async Task TestGetAreasAsyncBeSucess() { _areaService.Setup(x => x.GetAreaAsync()).ReturnsAsync(_areasModel); var callback = await _productionController.GetAreasAsync(); callback.Should().BeAssignableTo <OkObjectResult>(); }
public async Task TestGetAreasAsyncBeSucess() { _areaService.Setup(x => x.GetAreaAsync()).ReturnsAsync(_areasModel); var callback = await _productionController.GetAreasAsync(); callback.Should().BeAssignableTo <OkObjectResult>(); }