public function testApiOverwrite_OverwritesConfig_UsingOverwriteHandler()
{
$handler = function ($current, $new) {
return array_merge($current, $new);
};
$config = $this->createConfig(null, $handler);
$old = $config->getConfiguration();
$new = ['b' => ['b' => 'new_Option'], 'h' => 'test', 'a' => 5];
$merged = $this->callProtectedMethod($config, 'overwrite', [$old, $new]);
$this->assertSame($handler($old, $new), $merged);
}