new BasicJeriExporter(tse, new BasicILFactory());
TestServiceImpl service = new TestServiceImpl();
TestService stub = (TestService) exporter.export(service);
TestEndpoint te = tse.getTestEndpoint();
//make a call
stub.doSomething();
//Verify that the 3-arg connect method is called
if (methodCalls.get(connect2)==null) {
throw new TestException("The ConnectionManager"
+ " did not call 3-arg connect on the ConnectionEndpoint");
}