BJETestServiceImpl service = new BJETestServiceImpl();
try {
BJETestService stub = (BJETestService)
exporter.export(service);
cl1 = Thread.currentThread().getContextClassLoader();
stub.doSomething();
//verify that the listen method was called on the server
//endpoint class;
if (methodCalled("listen")){
//verify that the createInstances method is called
if (methodCalled("createInvocationDispatcher")){