MockFactory.createJavaComponent("foo", scope, Echo.class);
scope.register(component);
JavaTargetInvoker invoker = new JavaTargetInvoker(echoMethod, component);
invoker.setCacheable(false);
assertEquals("foo", invoker.invokeTarget("foo"));
scope.stop();
}
public void testClone() throws Exception {
ScopeContainer scope = new ModuleScopeContainer(null);
scope.start();