/**
  * test inline settings with array get merged
  */
 public function testAddInlineSettingArrayMerged()
 {
     $expectedReturnValue = 'TYPO3.settings = {"myApp":{"myKey1":"myValue1","myKey2":"myValue2"}};';
     $this->fixture->loadExtJS();
     $this->fixture->addInlineSettingArray('myApp', array('myKey1' => 'myValue1'));
     $this->fixture->addInlineSettingArray('myApp', array('myKey2' => 'myValue2'));
     $this->fixture->enableMoveJsFromHeaderToFooter();
     $out = $this->fixture->render(\TYPO3\CMS\Core\Page\PageRenderer::PART_FOOTER);
     $this->assertContains($expectedReturnValue, $out);
 }