}
public void testLoadPropertyWithSource() throws LoaderException, XMLStreamException {
PojoComponentType<?, ?, Property<?>> type =
new PojoComponentType<ServiceDefinition, ReferenceDefinition, Property<?>>();
Property property = new Property();
property.setName("name");
type.add(property);
JavaImplementation impl = new JavaImplementation();
impl.setComponentType(type);
ComponentDefinition<?> defn = new ComponentDefinition<JavaImplementation>(impl);
XMLStreamReader reader = createMock(XMLStreamReader.class);