/** * Set the object factory builder to a mock instance. * */ public void myTestSetObjectFactoryBuilder_SetNormal() throws NamingException { log.setMethod("myTestSetInitialContextFactoryBuilder_SetNormal"); ObjectFactoryBuilder objectFactoryBuilder = NamingManagerTest.MockObjectFactoryBuilder .getInstance(); NamingManager.setObjectFactoryBuilder(objectFactoryBuilder); }
/** * Set the object factory builder to a mock instance. * */ public void myTestSetObjectFactoryBuilder_SetNormal() throws NamingException { log.setMethod("myTestSetObjectFactoryBuilder_SetNormal"); ObjectFactoryBuilder objectFactoryBuilder = MockObjectFactoryBuilder .getInstance(); NamingManager.setObjectFactoryBuilder(objectFactoryBuilder); // NamingManager.setObjectFactoryBuilder(objectFactoryBuilder); }