@Test
public void testRemove() throws Exception {

  AlertDefinitionEntity definition = helper.createAlertDefinition(clusterId);
  definition = dao.findById(definition.getDefinitionId());
  assertNotNull(definition);
  dao.remove(definition);
  definition = dao.findById(definition.getDefinitionId());
  assertNull(definition);
}