545556575859606162
assertTrue("Second resource enlisted", tx.enlistResource(secondResource)) ; assertTrue("Third resource enlisted", tx.enlistResource(thirdResource)) ; } finally { tm.rollback() ; } } }
454647484950515253
assertTrue("First resource enlisted", tx.enlistResource(firstResource)) ; assertFalse("Second resource enlisted", tx.enlistResource(secondResource)) ; } finally { tm.rollback() ; } } }