handler.messageReceived( session, message );
Object msg = session.getMessage();
assertEquals( "session.getMessage() instanceOf", TgsRep.class, msg.getClass() );
TgsRep reply = ( TgsRep ) msg;
assertTrue( "FORWARDED flag", reply.getFlags().isForwarded() );
assertFalse( "INVALID flag", reply.getFlags().isInvalid() );
assertTrue( "FORWARDED flag", reply.getTicket().getEncTicketPart().getFlags().isForwarded() );
assertFalse( "INVALID flag", reply.getTicket().getEncTicketPart().getFlags().isInvalid() );
assertNotNull( reply.getTicket().getEncTicketPart().getClientAddresses() );
}