import junit.framework.TestCase;
public class SimpleServiceRegistryFactoryTest extends TestCase {
public void testNewServiceRegistry() throws Exception {
ServiceRegistryFactory factory = new SimpleServiceRegistryFactory();
ServiceRegistry serviceRegistry = factory.newServiceRegistry();
assertTrue(serviceRegistry instanceof DelegatingServiceRegistry);
}