### Question:
StormShutdownWarning extends AbstractCheckDescriptor { @Override public void perform(PrerequisiteCheck prerequisiteCheck, PrereqCheckRequest request) throws AmbariException { prerequisiteCheck.getFailedOn().add("STORM"); prerequisiteCheck.setStatus(PrereqCheckStatus.WARNING); prerequisiteCheck.setFailReason(getFailReason(prerequisiteCheck, request)); } StormShutdownWarning(); @Override Set<String> getApplicableServices(); @Override void perform(PrerequisiteCheck prerequisiteCheck, PrereqCheckRequest request);  }### Answer:
@Test public void testPerform() throws Exception { final StormShutdownWarning shutdownWarning = new StormShutdownWarning(); PrereqCheckRequest request = new PrereqCheckRequest(m_clusterName); PrerequisiteCheck check = new PrerequisiteCheck(null, null); shutdownWarning.perform(check, request); Assert.assertEquals(PrereqCheckStatus.WARNING, check.getStatus()); }