public void testIteratorConcurrentModification() throws Exception {
resetDB();
beginTransaction();
Set games;
try {
PlatformLocal platform = findPlatform(new Integer(1));
GameLocal game = findGame(new Integer(11));
games = platform.getGames();
assertFalse(games.isEmpty());
assertEquals(2, games.size());
Iterator iterator = games.iterator();