377378379380381382383
assertEquals(taskStatusCaptor.getValue().getState(), FAILED); } @Test public void verifyDockerExceptionSetsTaskStatusToFailed() throws Exception { verifyExceptionSetsTaskStatusToFailed(new DockerException("FAIL")); }