/** * Tests the arr::pluck() function. * @dataProvider pluck_provider * @group core.helpers.arr.pluck * @test */ public function pluck($input_key, $input_array, $expected_result) { $result = arr::pluck($input_key, $input_array); $this->assertEquals($expected_result, $result); }