### Question:
StubBase implements SessionMessage { public void sessionNotify( Object event ) throws Exception { sessionNotify( _obj, event ); } StubBase( DeliveryService svc, T obj, Pool queued, Pool free ); @SuppressWarnings("unchecked") final boolean sessionMessage( Who sender, Message msg ); Object sessionQuery( Object query ); void sessionControl( Object control, Object value ); void sessionNotify( Object event ); static void sessionNotify( Object obj, Object event );  }### Answer:
@Test public void sessionNotify() throws Exception { Object EVENT = "foo"; assertNull( session.what ); assertNull( session.event ); stub.sessionNotify( EVENT ); assertSame( What.SESSION_NOTIFY, session.what ); assertSame( EVENT, session.event ); }