public void testIntrospectUnannotatedClass() throws ProcessingException {
CompositeComponent parent = EasyMock.createNiceMock(CompositeComponent.class);
SystemImplementation impl = new SystemImplementation(BasicInterfaceImpl.class);
PojoComponentType<?, ?, ?> componentType = loader.loadByIntrospection(parent, impl, null);
ServiceDefinition service = componentType.getServices().get("BasicInterface");
assertEquals(BasicInterface.class, service.getServiceContract().getInterfaceClass());
Property<?> property = componentType.getProperties().get("publicProperty");
assertEquals(String.class, property.getJavaType());
ReferenceDefinition referenceDefinition = componentType.getReferences().get("protectedReference");
assertEquals(BasicInterface.class, referenceDefinition.getServiceContract().getInterfaceClass());
}