public void testHostPropertyEnablesClientSocketFactory () throws Exception
{
DefaultJmxSupportAgent agent = new DefaultJmxSupportAgent();
agent.setMuleContext(muleContext);
agent.setHost("127.0.0.1");
AbstractJmxAgent jmxAgent = agent.createJmxAgent();
Map props = jmxAgent.getConnectorServerProperties();
assertNotNull(props);
assertEquals("JMX ConnectorServer properties should've been merged",
2, props.size());
assertTrue("Property shouldn't have been removed",
props.containsKey(RMIConnectorServer.JNDI_REBIND_ATTRIBUTE));