@Test
public void testReadOnly() {
txSupport.startTx();
final List<LoggingParticipant> participants = Arrays.asList(new LoggingParticipant[] {
new LoggingParticipant(new ReadOnly()), new LoggingParticipant(new Prepared()),
new LoggingParticipant(new Prepared()) });
for (LoggingParticipant p : participants) {
ParticipantsManagerFactory.getInstance().enlist(APPLICATION_ID,
txSupport.getDurableParticipantEnlistmentURI(), p);
}