예제 #1
0
        public void 団体をページングなしで検索()
        {
            // Arrange
            var condition = new TeamSearchCondition(
                pageIndex: 1,
                displayCount: 5,
                teamTypes: new int[] { TeamType.Club.Id },
                teamName: "1");

            // Act
            var act = condition.ApplyWithoutPagination(this.teams.AsQueryable()).ToList();

            // Assert
            Assert.Equal(6, act.Count);
            Assert.Equal(new TeamCode("S00001"), act.First().TeamCode);
        }