@Test
public void shouldCleanupPodWhenPullImageError() {

  // inject mock status in real instance
  setWaiting(createdPod, "Pending", "ErrImagePull");
  var runState = RunState.create(WORKFLOW_INSTANCE, State.TERMINATED);
  var shouldDelete = kdr.shouldDeletePodWithRunState(WORKFLOW_INSTANCE, createdPod, runState);
  assertThat(shouldDelete, is(true));
}