false, false, "", "", "", "", "", "", "", null, PluginImpl.DEFAULT_SERVER_NAME, "slaveUUID", null,
false, false, "", null);
when(replicationConfigMock.isEnableReplication()).thenReturn(true);
when(replicationConfigMock.isEnableSlaveSelectionInJobs()).thenReturn(true);
GerritSlave expectedSlave = new GerritSlave("slaveUUID", "slave1", "slave1", 1234);
when(replicationConfigMock.getGerritSlave("slaveUUID", true)).thenReturn(expectedSlave);
List<GerritSlave> slaves = gerritTrigger.gerritSlavesToWaitFor(PluginImpl.DEFAULT_SERVER_NAME);
assertNotNull(slaves);
assertEquals(1, slaves.size());
assertEquals(expectedSlave, slaves.get(0));