transaction = TransactionPool.get().beginWork();
System.out.println(admin.events().get(0).toString());
assertEquals("banned", accountDAO.getAccountStatus(transaction, player.getName()));
assertEquals("active", accountDAO.getAccountStatus(transaction, admin.getName()));
assertFalse(admin.events().isEmpty());
assertThat(admin.events().get(0).toString(), containsString("RPEvent private_text with Attributes of Class(private_text): "));
assertThat(admin.events().get(0).toString(), containsString("[text=You have banned account bobby (character: bobby) until end of time for: whynot]"));
assertThat(admin.events().get(0).toString(), containsString("[texttype=PRIVMSG]"));
// just undo the changes so the next test starts clean
TransactionPool.get().rollback(transaction);