### Question:
ChainableMonitoringPlugin extends AbstractFalconAspect implements MonitoringPlugin, AlertingPlugin, AuditingPlugin { @Override public void audit(AuditMessage auditMessage) { for (AuditingPlugin plugin : auditingPlugins) { try { plugin.audit(auditMessage); } catch (Exception e) { LOG.debug("Unable to publish auditMessage to {}", plugin.getClass(), e); } } } ChainableMonitoringPlugin(); @Override void monitor(ResourceMessage message); @Override void publishMessage(ResourceMessage message); @Override void publishAlert(AlertMessage alertMessage); @Override void alert(AlertMessage alertMessage); @Override void publishAudit(AuditMessage auditMessage); @Override void audit(AuditMessage auditMessage);  }### Answer:
@Test public void testPlugin() throws Exception { GenericAlert.instrumentFailedInstance("cluster", "process", "agg-coord", "120:df", "ef-id", "wf-user", "1", "DELETE", "now", "error", "none", 1242); GenericAlert.alertJMSMessageConsumerFailed("test-alert", new Exception("test")); GenericAlert.audit(FalconTestUtil.TEST_USER_1, "127.0.0.1", "localhost", "test-action", "127.0.0.1", SchemaHelper.formatDateUTC(new Date())); }