@Test
public void testSaveMultipleConnectors() throws Exception {
String path = "src/test/resources/temp-connectors/connectors.xml";
List<ConnectorService> connectors = new ArrayList<ConnectorService>();
connectors.add(mockConnectorService("test-1", 1000, new MockConnector(), new ArrayList<Acceptor>(),
new ArrayList<Action>(), new ArrayList<Action>(), new ArrayList<Action>()));
connectors.add(mockConnectorService("test-2", 2000, new MockConnector(), new ArrayList<Acceptor>(),
new ArrayList<Action>(), new ArrayList<Action>(), new ArrayList<Action>()));
ConfigDelegator delegator = mock(ConfigDelegator.class);
when(delegator.getConnectors()).thenReturn(connectors);