assertTrue("WEB-INF entry is a DirContext",
webInfEntry instanceof DirContext);
DirContext webInfContext = (DirContext) webInfEntry;
// Check the bindings of the WEB-INF context directly
checkListBindings(webInfContext.listBindings(""), webInfNames);
} catch (NamingException e) {
fail("NamingException: " + e);
}