@Test
public void startNewInstanceNoPull() {

    pullOnCreate = false;
    maxInstanceCount = 2;
    DefaultDockerCloudClient client = createClient();
    DockerImage image = waitForImage(client);
    DockerInstance instance = client.startNewInstance(image, userData);
    waitUntil(() -> instance.getStatus() == InstanceStatus.RUNNING);
    assertThat(clientInterceptor.getInvocations().stream().filter(invocation -> invocation.getMethod().getName()
            .equals("pull"))).isEmpty();
}