Assert.assertNotNull(connector.getConnector());
Assert.assertEquals(connector.getListConnectors().size(), 1);
Assert.assertEquals(connector.getMapConnectors().size(), 1);
Connector innerConnector = connector.getMapConnectors().get("test-1");
Assert.assertNotNull(innerConnector);
Assert.assertEquals(innerConnector.getClass(), MockConfigurableConnector.class);
Assert.assertEquals(((MockConfigurableConnector) innerConnector).getConfig1(), "config1");
Assert.assertEquals(((MockConfigurableConnector) innerConnector).getConfig2(), 2);
}