@Test
public void testFindByServiceComponent() {

  List<AlertDefinitionEntity> definitions = dao.findByServiceComponent(
    clusterId, "OOZIE", "OOZIE_SERVER");
  assertNotNull(definitions);
  assertEquals(2, definitions.size());
}