assertNull( transport.what );
assertNull( transport.recipient );
assertNull( transport.msg );
Message msg = constructAddMessage();
Mailbox mb = mmgr.transportCall( who, msg );
assertSame( transport.what, What.TRANSPORT_MESSAGE );
assertSame( transport.recipient, who );
assertSame( transport.msg, msg );
assertNotNull( mb );
assertEquals( 1, mmgr.size() );
assertNotNull( msg.getMessageId() );
assertNull( msg.getInReplyTo() );
assertSame( mb, mmgr.getMailbox( msg.getMessageId() ) );
mb.closeRead();
assertEquals( 0, mmgr.size() );
assertNull( mmgr.getMailbox( msg.getMessageId() ) );
Message rmsg = msg.reply( MyValueFactory.mt_add_result );
boolean msg_handled = mmgr.sessionMessage( who, rmsg );
assertFalse( msg_handled );
assertNull( session.what );
assertNull( session.sender );