public void testGetStateToBind_f1RuntimeException_f2Success() {
log.setMethod("testGetStateToBind_f1RuntimeException_f2Success()");
Object o = "object";
Name n = new CompositeName();
Context c = new MockDirContext(new Hashtable<Object, Object>());
// lead to state factory
Hashtable<Object, Object> h = new Hashtable<Object, Object>();
h
.put(Context.STATE_FACTORIES,
"org.apache.harmony.jndi.tests.javax.naming.spi.NamingManagerTest$MagicMockStateFactory");