@Test
public void testLoad() throws DocumentParseException {

    SsgActiveConnectorLoader ssgActiveConnectorLoader = new SsgActiveConnectorLoader();
    Bundle bundle = new Bundle();
    Document document = DocumentTools.INSTANCE.parse(ACTIVE_CONNECTOR);
    ssgActiveConnectorLoader.load(bundle, document.getDocumentElement());
    SsgActiveConnector ssgActiveConnector = bundle.getSsgActiveConnectors().get("MQNativeTest");
    Assert.assertEquals("MqNative", ssgActiveConnector.getConnectorType());
    Assert.assertNull(ssgActiveConnector.getTargetServiceReference());
    Assert.assertTrue(ssgActiveConnector.getAnnotations().contains(new Annotation(AnnotationType.BUNDLE_HINTS)));
}