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