### Question:
RemoteBase { public Object _endcall( Mailbox mb, Type responseType ) throws Exception { return _svc.endcall( mb, responseType ); } 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 endcall() throws Exception { Object obj = new Object(); transport.result = obj; Object robj = remote._endcall( mb, rmt ); assertSame( What.END_CALL, transport.what ); assertSame( mb, transport.mb ); assertSame( rmt, transport.responseType ); assertSame( obj, robj ); }