@Test
public void agentRuntimeId() {

    TestBuildAgentConfiguration config = new TestBuildAgentConfiguration();
    config.getBuildParameters()
            .withEnv("TC_DK_CLD_CLIENT_UUID", UUID.randomUUID().toString());
    AgentController ctrl = new AgentController(config);
    ctrl.init();
    UUID runtimeId1 = UUID.fromString(config.getConfigurationParameters().get(AgentController.AGENT_RUNTIME_ID));
    ctrl = new AgentController(config);
    ctrl.init();
    UUID runtimeId2 = UUID.fromString(config.getConfigurationParameters().get(AgentController.AGENT_RUNTIME_ID));
    assertThat(runtimeId1).isNotEqualTo(runtimeId2);
}