DefaultJndiSupport extends JndiLocatorSupport implements
        JndiSupport { public void setJndiEnvironmentMap(Map<String, String> jndiEnvironmentMap) { this.jndiEnvironmentMap = jndiEnvironmentMap; } DefaultJndiSupport(); void setJndiPrefix(boolean jndiPrefix); boolean isJndiPrefix(); Map<String, String> getJndiEnvironmentMap(); void setJndiEnvironmentMap(Map<String, String> jndiEnvironmentMap); void initialize(); @Override void rebind(String name, Object obj); @Override void unbind(String name); @Override Object lookup(String name);  }
@Test public void testSetJndiEnvironmentMap01() throws Exception { DefaultJndiSupport support = new DefaultJndiSupport(); Map<String, String> map = new HashMap<String, String>(); support.setJndiEnvironmentMap(map); Object result = ReflectionTestUtils.getField(support, "jndiEnvironmentMap"); assertSame(map, result); }