예제 #1
0
        public async Task ShouldTolerateEmptyData()
        {
            _mockPetsLogic.Setup(x => x.GetAllCats())
            .ReturnsAsync(new List <PetByGender>());

            var view = await _controller.GetCatsByGender();

            view.Should().BeEmpty();
        }