Registry registry = buildFrameworkRegistry("ShutdownListenerServices.xml");
Simple simple = (Simple) registry.getService("hivemind.lib.test."
+ type + "Simple", Simple.class);
final Counter counter = new Counter();
simple.setCounter(counter);
registry.shutdown();
assertEquals(1, counter.getValue());
}
public void testPooledCalled() throws Exception
{