@Test
public void testPrepare10() throws Throwable {
HasEntry hasEntry = new HasEntry();
AbstractList<TransactionParticipant> arrayList = new ArrayList();
arrayList.add(new Debug());
int result = transactionManager.prepare(1, 100L, new NotActiveException("testTransactionManagerParam1"), members,
arrayList.iterator(), members.add(hasEntry), null, null);
assertEquals("(ArrayList) members.size()", 2, members.size());
assertSame("(ArrayList) members.get(0)", hasEntry, members.get(0));
assertEquals("result", 0, result);