@Test
public void getAgentHolderId() {

    DockerInstance instance = createInstance();
    assertThat(instance.getAgentHolderId()).isEmpty();
    String id = TestUtils.createRandomSha256();
    NewAgentHolderInfo agentHolderInfo = new NewAgentHolderInfo(id, "", "", Collections.emptyList());
    instance.bindWithAgentHolder(agentHolderInfo);
    assertThat(instance.getAgentHolderId().get()).isEqualTo(id);
}