### Question:
PodHelper { public static Step deletePodStep(String serverName, Step next) { return new DeletePodStep(serverName, next); } private  PodHelper(); static V1Pod createAdminServerPodModel(Packet packet); static V1Pod createManagedServerPodModel(Packet packet); static boolean isReady(V1Pod pod); static List<String> getScheduledPods(DomainPresenceInfo info, String clusterName); static List<String> getReadyPods(DomainPresenceInfo info, String clusterName); static boolean getScheduledStatus(V1Pod pod); static boolean getReadyStatus(V1Pod pod); static boolean isDeleting(V1Pod pod); static boolean isFailed(V1Pod pod); static String getPodDomainUid(V1Pod pod); static String getPodServerName(V1Pod pod); static Step createAdminPodStep(Step next); static Step createManagedPodStep(Step next); static Step deletePodStep(String serverName, Step next);  }### Answer:
@Test public void afterDeletePodStepRun_markedForDeleteInSko() { testSupport.defineResources(pod); domainPresenceInfo.setServerPod(SERVER_NAME, pod); testSupport.runSteps(PodHelper.deletePodStep(SERVER_NAME, terminalStep)); MatcherAssert.assertThat( domainPresenceInfo.isServerPodBeingDeleted(SERVER_NAME), is(Boolean.TRUE)); }
@Test public void whenDeleteFails_reportCompletionFailure() { testSupport.failOnResource(POD, POD_NAME, NS, HTTP_BAD_REQUEST); domainPresenceInfo.setServerPod(SERVER_NAME, pod); testSupport.runSteps(PodHelper.deletePodStep(SERVER_NAME, terminalStep)); testSupport.verifyCompletionThrowable(FailureStatusSourceException.class); }
@Test public void whenDeletePodStepRunWithNoPod_doNotSendDeleteCall() { testSupport.runSteps(PodHelper.deletePodStep(SERVER_NAME, terminalStep)); MatcherAssert.assertThat(domainPresenceInfo.getServerPod(SERVER_NAME), nullValue()); }
@Test public void afterDeletePodStepRun_runSpecifiedNextStep() { testSupport.runSteps(PodHelper.deletePodStep(SERVER_NAME, terminalStep)); MatcherAssert.assertThat(terminalStep.wasRun(), is(true)); }