assertEquals(Log4jNotificationLoggerAgent.class, agent.getClass());
agent = muleContext.getRegistry().lookupAgent("chainsaw-notifications");
assertNotNull(agent);
assertEquals(Log4jNotificationLoggerAgent.class, agent.getClass());
Log4jNotificationLoggerAgent lnlAgent = (Log4jNotificationLoggerAgent) agent;
assertEquals(lnlAgent.getChainsawPort(), CHAINSAW_PORT);
assertEquals(lnlAgent.getChainsawHost(), "127.0.0.1");
agent = muleContext.getRegistry().lookupAgent("publish-notifications");
assertNotNull(agent);
assertEquals(EndpointNotificationLoggerAgent.class, agent.getClass());
EndpointNotificationLoggerAgent enlAgent = (EndpointNotificationLoggerAgent) agent;