/** * @test */ public function canGetIndexQueueConfigurationNamesByTableName() { $fakeConfigurationArray['plugin.']['tx_solr.'] = array('index.' => array('queue.' => array('tx_model_news' => 1, 'tx_model_news.' => array(), 'custom_one' => 1, 'custom_one.' => array('table' => 'tx_model_bar'), 'custom_two' => 1, 'custom_two.' => array('table' => 'tx_model_news')))); $configuration = new TypoScriptConfiguration($fakeConfigurationArray); $this->assertEquals(array('tx_model_news', 'custom_two'), $configuration->getIndexQueueConfigurationNamesByTableName('tx_model_news')); }