public void Append(int snapShotThreshold)
        {
            using var repo = new NEventRepository <Game, GameId>(new NEventConfig()
            {
                SnapShotThreshold = snapShotThreshold
            });
            var game = new Game(new GameId(1), new Player("1", "player1"), new Player("2", "player2"), 0, 0, GameStatus.Start);

            repo.PersistentEvent(game);
        }
        public void Get(int snapShotThreshold)
        {
            using var repo = new NEventRepository <Game, GameId>(new NEventConfig()
            {
                SnapShotThreshold = snapShotThreshold
            });
            var game = new Game(new GameId(1), new Player("1", "player1"), new Player("2", "player2"), 0, 0, GameStatus.Start);

            repo.PersistentEvent(game);
            var actual = repo.Rehydrate(game.Id);

            actual.Should().Be(game);
        }