Example #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);
        }
 public List <string> GetGame(int gameId)
 {
     return(_gameAccessor.GetGame(gameId));
 }