"endpoints[0]=http://localhost:101/libs/sling/replication/services/importers/default",
"endpoints[1]=http://localhost:102/libs/sling/replication/services/importers/default",
"endpoints[2]=http://localhost:103/libs/sling/replication/services/importers/default",
"endpoints.strategy=All"});
ReplicationComponentFactory replicationComponentFactory = mock(ReplicationComponentFactory.class);
ReplicationAgent replicationAgent = mock(ReplicationAgent.class);
CoordinatingReplicationAgentFactory coordinatingReplicationAgentFactory = new CoordinatingReplicationAgentFactory();
when(replicationComponentFactory.createComponent(ReplicationAgent.class, config, coordinatingReplicationAgentFactory)).
thenReturn(replicationAgent);
Field componentFactory = coordinatingReplicationAgentFactory.getClass().getDeclaredField("componentFactory");