/**
  * Method to test mapKey
  *
  * @covers \Windwalker\Helper\ArrayHelper::mapKey
  *
  * @return void
  */
 public function testMapKey()
 {
     $data = array('top' => 'Captain America', 'middle' => 'Iron Man', 'bottom' => 'Thor');
     $data2 = (object) $data;
     $map = array('middle' => 'bottom', 'bottom' => 'middle');
     $expected = array('top' => 'Captain America', 'middle' => 'Thor', 'bottom' => 'Iron Man');
     $expected2 = (object) $expected;
     $result = ArrayHelper::mapKey($data, $map);
     $this->assertEquals($expected, $result);
     $result2 = ArrayHelper::mapKey($data2, $map);
     $this->assertEquals($expected2, $result2);
 }