def testGetAll( self ): componentIDs = [ 'component-a', 'component-b' ] self.insertComponentsIntoDb( componentIDs ) componentFactory = ComponentFactory( self._db ) all = componentFactory.getAllIDs() self.assertEquals( componentIDs, all )