public void testAGetBExistingAB() throws Exception {
resetDB();
beginTransaction();
try {
PlatformLocal platform = findPlatform(new Integer(1));
Set<GameLocal> gameSets = platform.getGames();
assertEquals(2, gameSets.size());
for (Iterator iter = gameSets.iterator(); iter.hasNext();) {
GameLocal game = (GameLocal) iter.next();
if (game.getId().equals(new Integer(11))) {
assertEquals("value11", game.getName());