TestCase::saveFactoryState

Saves the Factory pointers