@Test
void checkWithImagePullBackOff() {

    var pod = pod("Pending");
    KubePodList.ContainerStatus status = pod.status.containerStatuses.get(0);
    status.state.waiting = new KubePodList.ContainerStateWaiting();
    status.state.waiting.reason = "ImagePullBackOff";
    status.state.waiting.message = "Back-off pulling image \"gcr.io/project/ops/debug:latest\"";
    assertThat(job.check(pod, ZonedDateTime.now()))
            .contains(status.state.waiting.reason)
            .contains(status.state.waiting.message);
}