Parkour\TransformTest::testMerge PHP Method

testMerge() public method

public testMerge ( )
    public function testMerge()
    {
        $first = ['one' => 1, 'two' => 2, 'three' => ['four' => 4, 'five' => 5]];
        $second = ['two' => 'two', 'three' => ['four' => 'four']];
        $expected = ['one' => 1, 'two' => 'two', 'three' => ['four' => 'four', 'five' => 5]];
        $this->assertEquals($expected, Transform::merge($first, $second));
    }