//Register for instrumentation calls from the transport
ConnectionTransportListener.registerListener(this);
//initiate a listen operation
BasicJeriExporter exporter = new BasicJeriExporter(
new TestServerEndpoint(getListenPort()), new BasicILFactory());
TestServiceImpl service = new TestServiceImpl();
TestService stub = (TestService) exporter.export(service);
//send a request and receive a response
stub.doSomething();
//Verify that checkPermissions is called
if (methodCalls.get(checkPermissions)==null) {