@Test
public void testPrepare7() throws Throwable {
transactionManager = new TransactionManager();
List<TransactionParticipant> members = new ArrayList();
List<TransactionParticipant> arrayList = new ArrayList();
BSHTransactionParticipant bSHTransactionParticipant = new BSHTransactionParticipant();
boolean abort = arrayList.add(bSHTransactionParticipant);
LogEvent evt = new LogEvent();
int result = transactionManager.prepare(1, 100L, Boolean.FALSE, members, arrayList.iterator(), abort, evt, null);
assertEquals("(ArrayList) members.size()", 1, members.size());
assertSame("(ArrayList) members.get(0)", bSHTransactionParticipant, members.get(0));