@Test
public void getResolvedImageName() {

    DockerInstance instance = createInstance();
    assertThat(instance.getResolvedImageName()).isEmpty();
    NewAgentHolderInfo agentHolderInfo = new NewAgentHolderInfo(TestUtils.createRandomSha256(),
            "", "resolved_image", Collections.emptyList());
    instance.bindWithAgentHolder(agentHolderInfo);
    assertThat(instance.getResolvedImageName()).isEqualTo(Optional.of("resolved_image"));
}