### Question:
OpushContinuationSupport implements QoSContinuationSupport { @Override public void suspend(ServletRequest request) { loggerService.closeSession(); continuationSupport.suspend(request); } @Inject @VisibleForTesting  OpushContinuationSupport(QoSContinuationSupportJettyUtils continuationSupport, LoggerService loggerService); @Override void suspend(ServletRequest request); @Override QoSContinuation getContinuationFor(ServletRequest request);  }### Answer:
@Test public void suspendCloseCurrentSession() { ServletRequest request = mockControl.createMock(ServletRequest.class); loggerService.closeSession(); expectLastCall().once(); delegate.suspend(request); expectLastCall().once(); mockControl.replay(); testee.suspend(request); mockControl.verify(); }