@Test
public void testAddLobbyStateListener() {

	TestLobbyListener testAdd = new TestLobbyListener();
	
	// Test double and null addition
	testLobby.addLobbyStateListener(testAdd);
	testLobby.addLobbyStateListener(testAdd);
	testLobby.addLobbyStateListener(null);
	
	testLobby.broadcastMessage("Test Chat");
	
	// Check that chat message event was received properly
	assertEquals("Test Chat", testAdd.getLastChatEvent().getMessage());
	assertEquals(1, testAdd.getNumEvents());
	testLobby.removeLobbyStateListener(testAdd);
}