### Question:
Messagizer implements SessionPacket, TransportMessage { public void transportControl( Object control, Object value ) throws Exception { transport.transportControl( control, value ); } Messagizer( TransportPacket transport, String uri, Resources resources );  Messagizer( TransportPacket transport, URL uri, Resources resources ); TransportPacket getTransport(); @Override String toString(); void sessionPacket( Who sender, FlexBuffer buf ); void transportMessage( Who recipient, Message msg ); Object sessionQuery( Object query ); void sessionControl( Object control, Object value ); void sessionNotify( Object event ); Object transportQuery( Object query ); void transportControl( Object control, Object value ); void transportNotify( Object event ); SessionMessage getSession(); void setSession( SessionMessage session ); static final String FORMAT; }### Answer:
@Test public void transportControl() throws Exception { Object CONTROL = "foo"; Object VALUE = "bar"; assertNull( transport.what ); assertNull( transport.control ); assertNull( transport.value ); m.transportControl( CONTROL, VALUE ); assertSame( What.TRANSPORT_CONTROL, transport.what ); assertSame( CONTROL, transport.control ); assertSame( VALUE, transport.value ); }