final Set<TurnListener> bla = SingletonRepository.getTurnNotifier().getEventListForDebugging().get(
Integer.valueOf(TurnNotifier.get().getCurrentTurnForDebugging() + 1));
final TurnListener[] listenerset = new TurnListener[bla.size()];
bla.toArray(listenerset);
assertTrue(listenerset[0] instanceof AccessCheckingPortal.SendMessage);
final SendMessage sm = (SendMessage) listenerset[0];
sm.onTurnReached(0);
assertEquals("setRejectMessage", player.events().get(0).get("text"));
}