@Test
public void testWarningWhenNoAlertsExist() throws AmbariException {

  when(alertsDAO.findCurrentByCluster(eq(CLUSTER_ID))).thenReturn(Collections.<AlertCurrentEntity>emptyList());
  PrerequisiteCheck check = new PrerequisiteCheck(null, CLUSTER_NAME);
  healthCheck.perform(check, new PrereqCheckRequest(CLUSTER_NAME));
  Assert.assertEquals(PrereqCheckStatus.PASS, check.getStatus());
}