def test_adding(self):
     self.portal.invokeFactory("Gemifolder", "Gemifolder")
     self.assertTrue(IGemifolder.providedBy(self.portal["Gemifolder"]))
 def test_factory(self):
     fti = queryUtility(IDexterityFTI, name="Gemifolder")
     factory = fti.factory
     obj = createObject(factory)
     self.assertTrue(IGemifolder.providedBy(obj))