Ejemplo n.º 1
0
        public void TestGetTournamentWithSubRoundsWithNotPossibleTournamentId()
        {
            _mockRoundService = new MockRoundService();
            var usersBeforeAdd = _mockRoundService.GetAllRoundFromATournament(-900);

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

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