}
}
@Test
public void testPrepareThrowsNullPointerException5() throws Throwable {
LogEvent evt = new LogEvent("testTransactionManagerTag");
List<TransactionParticipant> members = new ArrayList();
List<TransactionParticipant> arrayList = new ArrayList();
boolean abort = arrayList.add(new Trace());
try {
transactionManager.prepare(1, 100L, new NotActiveException(), members, arrayList.iterator(), abort, evt, null);
fail("Expected NullPointerException to be thrown");
} catch (NullPointerException ex) {
assertEquals("evt.payLoad.size()", 1, evt.getPayLoad().size());
assertEquals("evt.payLoad.get(0)", "prepareForAbort: org.jpos.transaction.participant.Trace", evt.getPayLoad().get(0));
assertNull("ex.getMessage()", ex.getMessage());
assertNull("transactionManager.psp", transactionManager.psp);
assertNull("transactionManager.groups", transactionManager.groups);
assertEquals("(ArrayList) members.size()", 0, members.size());
}