public void CanCreateNewGame() { var newGame = new Game { Key = "ng" }; A.CallTo(() => _gameBuilder.GetNewGame()).Returns(newGame); var result = _gameService.CreateGame(); A.CallTo(() => _gameRepository.Create(newGame)).MustHaveHappened(); Assert.Equal(newGame.Key, result); }