예제 #1
0
        public void ShouldReturnEmptyPaginationForNoGroups()
        {
            // Arrange
            var groupResults = new GroupResults()
            {
                Groups = new List <Group>()
            };

            // Act
            _service.DoPagination(groupResults, 0, 0);

            // Assert
            groupResults.Pagination.Should().BeEquivalentTo(new Pagination());
        }