@Test
void checkWithCrashLoopBackOff() {

    var pod = pod("Running");
    KubePodList.ContainerStatus status = pod.status.containerStatuses.get(0);
    status.state.waiting = new KubePodList.ContainerStateWaiting();
    status.state.waiting.reason = "CrashLoopBackOff";
    status.state.waiting.message = "Back-off 5m0s restarting failed container";
    assertThat(job.check(pod, ZonedDateTime.now()))
            .contains(status.state.waiting.reason)
            .contains(status.state.waiting.message);
}