Unit tests should use this method to overwrite/teardown existing Service singleton. DO NOT USE for production code. NOTE: When finished with a unit test, this should be set back to null so as not to interfere with other tests.
PortalObjectsFactoryService Class | com.plumtree.server Namespace