public function testReplaceWithSimilarKeys()
 {
     $xao = new XArray([1, 2, 3]);
     $obj = $xao->replace(['1' => 'foo']);
     // string numbers (int) are automatically converted to integers
     $this->assertEquals([1, 'foo', 3], (array) $obj);
 }