public function tryToTestPluck(UnitTester $I) { $array = [0 => ["file" => "bin/modvert.web.php", "index" => " ", "work_tree" => "M"], 1 => ["file" => "src/Modvert/Application.php", "index" => " ", "work_tree" => "M"], 2 => ["file" => "tests/unit/ApplicationCest.php", "index" => " ", "work_tree" => "M"]]; $expected = ['bin/modvert.web.php', 'src/Modvert/Application.php', 'tests/unit/ApplicationCest.php']; $I->assertEquals($expected, ArrayHelper::pluck($array, 'file')); }