public async Task Should_save_outcome() { // Arrange // Act await rpsPlayer.GameResult(Outcome.Win, Move.Rock); // Assert await rpsGameStore.Received(1).Update(Arg.Is <RPSGame>(game => game.Games.FirstOrDefault(g => g.Outcome == Outcome.Win && g.OpponentMove == Move.Rock) != null)); }