/** * Tests Arr::path() * * @test * @dataProvider providerSetPath * @param string $path The path to follow * @param boolean $expected The expected value * @param string $delimiter The path delimiter */ public function testSetPath($expected, $array, $path, $value, $delimiter = null) { Arr::setPath($array, $path, $value, $delimiter); $this->assertSame($expected, $array); }