Ejemplo n.º 1
0
        public void GetGame_GameIdExists_GameReturned()
        {
            // Arrange
            int gameId = 3;              // shortcut, for now we'll have to trust this gameId exists in the database.

            // Act
            List <string> Game = _gameAccessor.GetGame(gameId);

            // Assert
            Assert.NotNull(Game);
            Assert.Equal(4, Game.Count);
        }
Ejemplo n.º 2
0
 public List <string> GetGame(int gameId)
 {
     return(_gameAccessor.GetGame(gameId));
 }