/** * @covers Lazer\Classes\Helpers\Validate::filter */ public function testFilterIndexedArrayFromIdKey() { $arrayOne = ['id', 'column1', 'column2']; $this->assertArrayNotHasKey('id', $this->object->filter($arrayOne)); $arrayTwo = ['id' => 1, 'column1' => 'value1', 'column2' => 'value2']; $this->assertArrayNotHasKey('id', $this->object->filter($arrayTwo)); }