/** * @Given /^there is a pivot table "([^"]*)"$/ */ public function thereIsAPivotTable($tableName) { $this->databaseHelper->shouldReceive('hasTable', $tableName)->andReturn(true); }