public async void GetAll_RepositoryConsistsOf2Records_ShouldReturnListOf2Records() { // Arrange const int expected = 2; // Act var list = await _service.GetAllAsync(httpRequest, HallId, StandId); // Assert Assert.Equal(expected, list.Count); }
public async void GetAll_RepositoryIsEmpty_ShouldReturnEmptyList() { // Act var list = await _serviceEmptyRepo.GetAllAsync(httpRequest, HallId, StandId); // Assert Assert.Empty(list); }