@Test
public void testPullTimeoutVariation() throws Throwable {
doThrow(new DockerTimeoutException("x", new URI("http://example.com"), null))
.when(mockDocker).pull(IMAGE);
doThrow(new ImageNotFoundException("not found"))
.when(mockDocker).inspectImage(IMAGE);
final TaskRunner tr = TaskRunner.builder()
.delayMillis(0)
.config(TaskConfig.builder()