@Test
public void mustSetContainerName() {

    DefaultDockerCloudClient client = createClient();
    DockerImage image = waitForImage(client);
    testCloudSupport.getClientFacade().agentConfigurator((container -> container.name("test_container_name")));
    DockerInstance instance = client.startNewInstance(image, userData);
    waitForInstanceStatus(instance, InstanceStatus.RUNNING);
    assertThat(instance.getAgentHolderName()).isEqualTo(Optional.of("test_container_name"));
}