public function testGet() { $array = ['products' => ['desk' => ['price' => 100]]]; $value = Arr::get($array, 'products.desk'); $this->assertEquals(['price' => 100], $value); }