mil.dod.th.ose.core/test/mil/dod/th/ose/core/FactoryObjectMocker.java
public static Configuration addMockConfiguration(AbstractFactoryObject object, String pid)
    {
        object.setPid(pid);
        return ConfigurationAdminMocker.addMockConfiguration(object);
    }
/**
     * Add mocked objects to a real factory object.  Factory object can then be interacted with.  This method should 
     * only be used when testing factory objects and not classes that use factory objects.  {@link 
     * #mockFactoryObject(Class, String, Config)} should be used in those cases instead.  
     * 
     * @param object
     *      object to add mocks to
     * @param pid
     *      configuration PID to use for the factory object
     */
Add mocked objects to a real factory object.  Factory object can then be interacted with.  This method should
only be used when testing factory objects and not classes that use factory objects.  {@link
#mockFactoryObject(Class, String, Config)} should be used in those cases instead.

@param object
object to add mocks to
@param pid
configuration PID to use for the factory object
Add mocked objects to a real factory object . Factory object can then be interacted with . This method should only be used when testing factory objects and not classes that use factory objects . { @link #mockFactoryObject ( Class String Config ) } should be used in those cases instead . @param object object to add mocks to @param pid configuration PID to use for the factory object
public static Configuration addMockConfiguration(AbstractFactoryObject object, String pid)
    {
        object.setPid(pid);
        return ConfigurationAdminMocker.addMockConfiguration(object);
    }
public static Configuration addMockConfiguration ( AbstractFactoryObject object , String pid ) { object . setPid ( pid ) ; return ConfigurationAdminMocker . addMockConfiguration ( object ) ; }
Add mocked objects to a real factory object.
Add mocked objects to a real factory object .