Beispiel #1
0
 /**
  * Tests Arr::path()
  *
  * @test
  * @dataProvider provider_arr_path
  * @param string  $path       The path to follow
  * @param mixed   $default    The value to return if dnx
  * @param boolean $expected   The expected value
  * @param string  $delimiter  The path delimiter
  */
 public function test_arr_path($expected, $array, $path, $default = NULL, $delimiter = NULL)
 {
     $this->assertSame($expected, Group_Shipping_Items::arr_path($array, $path, $default, $delimiter));
 }