Assert.assertEquals(1, services.size());
Assert.assertEquals("NakedHelloWorld", services.get(0).getName());
}
public void testHelloWorldWithSidefile() throws XMLStreamException, ConfigurationLoadException {
StAXLoaderRegistry mockRegistry = new MockRegistry(mockType);
loader.setRegistry(mockRegistry);
URL sidefile = HelloWorldImpl.class.getResource("HelloWorldImpl.componentType");
ComponentType type = loader.loadComponentTypeFromSidefile(sidefile, null);
assertSame(mockType, type);
}