public void GetPlayers_Returns_EmptyList()
        {
            var inMemoryDataStore = new InMemoryDataStore();

            var players = inMemoryDataStore.GetPlayers();

            Assert.Empty(players);
        }
        public void GetPlayers_Returns_SinglePlayer()
        {
            var inMemoryDataStore = new InMemoryDataStore();

            var player1 = new Player("Alice");

            inMemoryDataStore.AddPlayer(player1);

            var players = inMemoryDataStore.GetPlayers();

            Assert.Single(players);
        }
        public void GetPlayers_Returns_TwoPlayer()
        {
            var inMemoryDataStore = new InMemoryDataStore();

            var player1 = new Player("Alice");
            var player2 = new Player("Bobgamer");

            inMemoryDataStore.AddPlayer(player1);
            inMemoryDataStore.AddPlayer(player2);

            var players = inMemoryDataStore.GetPlayers();

            Assert.Equal(2, players.Count());
        }