public function testApiReplace_ReplacesMultipleArraysPreservingDotNotation()
{
$support = $this->createArraySupportMock();
$array1 = ['a' => $s1 = new StdClass(), 'b' => ['a' => 5, 'b' => null], 'c' => 'XYZ'];
$array2 = ['a' => $s2 = new StdClass(), 'b' => ['b' => 10, 'c' => $s3 = new StdClass()], 'd' => 0];
$expected = ['a' => $s2, 'b' => ['b' => 10, 'c' => $s3], 'c' => 'XYZ', 'd' => 0];
$this->assertSame($expected, $support::replace([$array1, $array2]));
}