public void testDefaultJmxAgentConfig() throws Exception
{
Agent agent = muleContext.getRegistry().lookupAgent("jmx-agent");
assertNotNull(agent);
assertEquals(JmxAgent.class, agent.getClass());
JmxAgent jmxAgent = (JmxAgent) agent;
assertEquals(false, jmxAgent.isCreateServer());
assertEquals(true, jmxAgent.isLocateServer());
assertEquals(true, jmxAgent.isEnableStatistics());
assertEquals(SimplePasswordJmxAuthenticator.class, jmxAgent.getJmxAuthenticator().getClass());
agent = muleContext.getRegistry().lookupAgent("jmx-log4j");
assertNotNull(agent);
assertEquals(Log4jAgent.class, agent.getClass());