def setUp(self):
        self.adapter = TwitterAdapter(
            twitter_consumer_key='twitter_consumer_key',
            twitter_consumer_secret='twitter_consumer_secret',
            twitter_access_token_key='twitter_access_token_key',
            twitter_access_token_secret='twitter_access_token_secret'
        )
        self.adapter.api = Mock()

        self.adapter.api.GetSearch = MagicMock(side_effect=side_effect)
Create an instance of the given model and type.
dataset/ETHPy150Open gunthercox/ChatterBot/tests/storage_adapter_tests/test_twitter_adapter.py/TwitterAdapterTestCase.setUp--crossover with--dataset/ETHPy150Open sdispater/orator/orator/orm/factory.py/Factory.make_as