/**
  * @depends testArrayObjectGetArrayCopy
  */
 public function testArrayObjectExchangeArray()
 {
     $array = ['foo' => 1, 'bar' => 2];
     $xao = new XArray($array);
     $replace = [1, 2, 3];
     $xao->exchangeArray($replace);
     $this->assertEquals($replace, $xao->getArrayCopy());
 }