12131214121512161217121812191220122112221223
sc.begin(); assertEquals(1, listener1.getRemoved()); assertEquals(2, listener2.getRemoved()); } finally { sc.rollback(); sc.close(); } } }