/** check the normal scenario works */
 @Test(timeout = 1000)
 public void basic() throws InterruptedException {
   // should work
   MockedRequestHandler newSessionRequest = new MockedNewSessionRequestHandler(registry, ff);
   newSessionRequest.process();
   TestSession s = newSessionRequest.getTestSession();
   Assert.assertNotNull(s);
   s.terminate();
   Assert.assertEquals(0, registry.getNewSessionRequests().size());
 }
 /** check the normal scenario works */
 @Test(timeout = 1000)
 public void basic() {
   // should work
   MockedRequestHandler newSessionRequest = new MockedNewSessionRequestHandler(registry, ff);
   newSessionRequest.process();
   TestSession s = newSessionRequest.getTestSession();
   Assert.assertNotNull(s);
   registry.terminate(s);
   Assert.assertEquals(0, registry.getNewSessionRequestCount());
 }