return "rmi-namespace-config.xml";
}
public void testConfig() throws Exception
{
RmiConnector c = (RmiConnector) muleContext.getRegistry().lookupConnector("rmiConnector");
assertNotNull(c);
assertEquals(1234, c.getPollingFrequency());
assertEquals(DummySecurityManager.class, c.getSecurityManager().getClass());
String url = c.getSecurityPolicy();
assertNotNull(url);
int index = url.lastIndexOf("/");
assertTrue(index > 0);
assertEquals("rmi.policy", url.substring(index+1));
assertEquals("bcd", c.getServerClassName());
assertEquals("cde", c.getServerCodebase());
assertEquals("org.mule.tck.jndi.InMemoryContextFactory", c.getJndiInitialFactory());
assertEquals("efg", c.getJndiProviderUrl());
assertEquals("fgh", c.getJndiUrlPkgPrefixes());
assertEquals("hij", c.getJndiProviderProperties().get("ghi"));
}