/** * @test */ public function canGetIndexQueuePagesAllowedPageTypesArray() { $fakeConfigurationArray['plugin.']['tx_solr.'] = array('index.' => array('queue.' => array('pages.' => array('allowedPageTypes' => '1,2, 7')))); $configuration = new TypoScriptConfiguration($fakeConfigurationArray); $allowedPageTypes = $configuration->getIndexQueuePagesAllowedPageTypesArray(); $this->assertEquals(array(1, 2, 7), $allowedPageTypes, 'Can not get allowed pagestype from configuration'); }