Exemple #1
0
        public void TestGetTournamentWithSubRoundsWithNotPossibleTournamentId()
        {
            _mockRoundService = new MockRoundService();
            var usersBeforeAdd = _mockRoundService.GetAllRoundFromATournament(-900);

            Assert.True(usersBeforeAdd.Count == 0);
        }
Exemple #2
0
        public void TestGetTournamentWithSubRoundsWithExistingTournamentId()
        {
            _mockRoundService = new MockRoundService();
            var usersBeforeAdd = _mockRoundService.GetAllRoundFromATournament(1);

            Assert.True(usersBeforeAdd.Count > 0);
        }