public void 開催日の一覧を作成()
        {
            // Arrange
            var holdingStartDate = new DateTime(2020, 4, 1);
            var holdingEndDate   = new DateTime(2020, 4, 8);
            var values           = new List <string>()
            {
                "2020/03/30",
                "2020/03/31",
                "2020/04/01",
                "2020/04/02",
                "2020/04/03",
                "2020/04/04",
                "2020/04/05",
                "2020/04/06",
                "2020/04/07",
                "2020/04/08",
                "2020/04/09",
                "2020/04/10",
                "2020/04/11",
                "2020/04/12",
            };

            var mockRepository = new Mock <ITournamentRepository>();
            var usecase        = new TournamentUseCase(mockRepository.Object);

            // Act
            var act = usecase.CreateHoldingDates(holdingStartDate, holdingEndDate);

            //Assert
            Assert.Equal(values, act.Select(o => o.Value).ToList());
            Assert.Equal(14, act.Count());
        }
        public void 終了日より開催日の方が新しい場合中身のない一覧を返す()
        {
            // Arrange
            var holdingStartDate = new DateTime(2020, 4, 10);
            var holdingEndDate   = new DateTime(2020, 4, 1);
            var mockRepository   = new Mock <ITournamentRepository>();
            var usecase          = new TournamentUseCase(mockRepository.Object);

            // Act
            var act = usecase.CreateHoldingDates(holdingStartDate, holdingEndDate);

            //Assert
            Assert.Equal(new List <JsonHoldingDate>(), act);
        }