def setUp(self, adapter):
super(AdapterTestHelper, self).setUp()<EOL>self.sandbox.mkdir("<STR_LIT>")<EOL>self.adapter = adapter(<EOL>os.path.join(self.sandbox.path, "<STR_LIT>"))<EOL>self.adapter.execute = Mock(return_value=None)<EOL>
Generic setup for adapter test cases.