def checkFactory(self, factory, cls=Factory):
self.assertTrue(isinstance(factory, cls))<EOL>self.assertIdentical(factory.store, self.store)<EOL>
Checks the given factory. It must be an instance of the given class
        (default: Factory), as well as have the test store as the
        ``store`` attribute.