assertNotNull(result);
assertEquals(1, result.getLoops().size());
Loop loop = (Loop)result.getLoops().get(0);
assertNotNull(loop.getCondition());
Synchronizer sync1 = (Synchronizer)result.findWFElementById(synchronizer1Id);
assertEquals(1,sync1.getEnteringLoops().size());
assertEquals(0,sync1.getLeavingLoops().size());