public function testApiConfig_MergesConfig()
{
$core = $this->createCore();
$this->setProtectedProperty($core, 'bootConfig', ['a' => 'A', 'c' => 'C']);
$expected = ['a' => 'X', 'c' => 'C', 'b' => 'Y'];
$result1 = $core->config(['a' => 'X', 'b' => 'Y']);
$result2 = $this->getProtectedProperty($core, 'bootConfig');
$this->assertSame($expected, $result1);
$this->assertSame($expected, $result2);
}