/**
  * Method to test pivotFromPrefix().
  *
  * @param string $prefix
  * @param mixed  $origin
  * @param mixed  $target
  * @param mixed  $expected
  *
  * @return void
  *
  * @dataProvider pivotFromPrefixDataProvider
  * @covers       \Windwalker\Helper\ArrayHelper::pivotFromPrefix
  */
 public function testPivotFromPrefix($prefix, $origin, $target, $expected)
 {
     $this->assertEquals($expected, ArrayHelper::pivotFromPrefix($prefix, $origin, $target));
 }