### Question:
DefaultJndiSupport extends JndiLocatorSupport implements
        JndiSupport { public boolean isJndiPrefix() { return super.isResourceRef(); } 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);  }### Answer:
@Test public void testIsJndiPrefix01() throws Exception { DefaultJndiSupport support = new DefaultJndiSupport(); support.setResourceRef(true); boolean b = support.isJndiPrefix(); assertTrue(b); }