assertEquals("active", 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): "));
// not sure of a good way to reliably test the timestamping
assertThat(admin.events().get(0).toString(), containsString("[text=You have banned account bobby (character: bobby) until "));
assertThat(admin.events().get(0).toString(), containsString("for: We want to test the temporary bans"));
assertThat(admin.events().get(0).toString(), containsString("[texttype=PRIVMSG]"));
// just undo the changes so the next test starts clean
TransactionPool.get().rollback(transaction);