### Question:
RemoteBase { public void _stop() throws Exception { _transportControl( Transport.STOP, null ); } RemoteBase( DeliveryService svc, ValueFactory vf ); @Override String toString(); final Message _newMessage( Type type ); void _send( Message msg ); Mailbox _begincall( Message msg ); Object _endcall( Mailbox mb, Type responseType ); Object _transportQuery( Object query ); void _transportControl( Object control, Object value ); void _transportNotify( Object event ); void _start(); void _waitUp( int maxDelay ); void _startAndWaitUp( int maxDelay ); void _stop(); void _waitDown( int maxDelay ); void _stopAndWaitDown( int maxDelay );  }### Answer:
@Test public void stop() throws Exception { assertNull( transport.what ); assertNull( transport.query ); assertNull( transport.control ); assertNull( transport.value ); assertNull( transport.event ); remote._stop(); assertSame( What.TRANSPORT_CONTROL, transport.what ); assertNull( transport.query ); assertSame( Transport.STOP, transport.control ); assertNull( transport.value ); assertNull( transport.event ); }