def test_should_call_factory_and_get_created_object(self): binder = FactoryFunction(__name__, 'factory_method_binder_fake') self.assertEquals('OBJECT', binder.get('CONTAINER'))