@Test
	public void testPlayerIterator() {
		int i = 0;
		int count = 0;
		for (Player p : testGame.getTableIterator(players.get(i))) {
			assertEquals(players.get(i), p);

			i++;
			if (i == players.size()) {
				i = 0;
			}

			count++;
		}

		assertEquals(0, i);
		assertEquals(players.size(), count);

		i = 1;
		count = 0;
		for (Player p : testGame.getTableIterator(players.get(i))) {
			assertEquals(players.get(i), p);

			i++;
			if (i == players.size()) {
				i = 0;
			}

			count++;
		}

		assertEquals(1, i);
		assertEquals(players.size(), count);

		i = 2;
		count = 0;
		for (Player p : testGame.getTableIterator(players.get(i))) {
			assertEquals(players.get(i), p);

			i++;
			if (i == players.size()) {
				i = 0;
			}

			count++;
		}

		assertEquals(2, i);
		assertEquals(players.size(), count);

		i = 3;
		count = 0;
		for (Player p : testGame.getTableIterator(players.get(i))) {
			assertEquals(players.get(i), p);

			i++;
			if (i == players.size()) {
				i = 0;
			}

			count++;
		}

		assertEquals(3, i);
		assertEquals(players.size(), count);
	}