public async Task FindOneAsync_VerifyInvalidId()
        {
            //Arrange
            var  id           = 0;
            Game returnedUser = null;

            var userMock = new Mock <IHistoryQuery>();

            userMock.Setup(x => x.FindOneAsync(id)).ReturnsAsync(returnedUser);
            var service = new GameHistoryController(userMock.Object);

            //Act
            var result = await service.GetOne(id) as NotFoundResult;

            //Assert
            Assert.IsType <NotFoundResult>(result);
        }
        public async Task FindOneAsync_VerifyObject()
        {
            //Arrange
            var game = new Game()
            {
                Id           = 2,
                Author       = "Michael",
                InitialState = "[[true,false],[false,false]]"
            };

            var userMock = new Mock <IHistoryQuery>();

            userMock.Setup(x => x.FindOneAsync(game.Id)).ReturnsAsync(game);
            var service = new GameHistoryController(userMock.Object);

            //Act
            var result = await service.GetOne(game.Id) as OkObjectResult;

            var actualResult = result.Value;

            //Assert
            Assert.Equal(game, (Game)actualResult);
        }