}
/*
* Since there is no guarantee of listener order, don't check if the
* late-added listener's beforeCompletion method was called.
*/
lateListener.assertCalledAfter(CalledAfter.COMMIT);
}
@Test
public void testRegisterListenerAfterCompletion() throws Exception {
final Exception[] exception = { null };