Hashtable<Object, Object> env = new Hashtable<Object, Object>();
env.put(Context.REFERRAL, "ignore");
env.put("test.getRootURLContext", "GetRootURLContext");
server.setResponseSeq(new LdapMessage[] { new LdapMessage(
LdapASN1Constant.OP_BIND_RESPONSE, new BindResponse(), null) });
ResolveResult result = context.getRootURLContext(server.getURL(), env);
assertEquals("", result.getRemainingName().toString());
assertTrue(result.getResolvedObj() instanceof LdapContextImpl);