public function test_primary() { $this->dbal->shouldReceive('setPrimaryKey')->with(['id'], null); $this->table->primary('id'); }