DefaultJndiSupport extends JndiLocatorSupport implements
        JndiSupport { public void setJndiPrefix(boolean jndiPrefix) { super.setResourceRef(jndiPrefix); } 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 testSetJndiPrefix01() throws Exception { DefaultJndiSupport support = new DefaultJndiSupport(); support.setResourceRef(false); support.setJndiPrefix(true); boolean b = support.isResourceRef(); assertTrue(b); }