Kraken\_Unit\Config\Overwrite\OverwriteIsolaterTest::testApiInvoke_MergesConfiguration PHP Method

testApiInvoke_MergesConfiguration() public method

    public function testApiInvoke_MergesConfiguration()
    {
        $overwrite = $this->createOverwriteHandler();
        $old = $this->getRawData();
        $new = ['b' => ['b' => 'new_Option'], 'h' => 'test', 'a' => 5];
        $data = $overwrite($old, $new);
        $this->assertSame($new, $data);
    }