/**
  * @test
  * @dataProvider sectionIndexQueriesWithDifferentColPosDataProvider
  * @param array $configuration
  * @param string $whereClausePrefix
  */
 public function sectionIndexQueriesWithDifferentColPos($configuration, $whereClausePrefix)
 {
     $this->prepareSectionIndexTest();
     $this->fixture->sys_page->expects($this->once())->method('getPage')->will($this->returnValue(array()));
     $this->fixture->mconf['sectionIndex.'] = $configuration;
     $queryConfiguration = array('pidInList' => 12, 'orderBy' => 'field', 'languageField' => 'sys_language_uid', 'where' => $whereClausePrefix);
     $this->fixture->parent_cObj->expects($this->once())->method('exec_getQuery')->with('tt_content', $queryConfiguration)->will($this->returnValue(1));
     $this->fixture->_call('sectionIndex', 'field', 12);
 }