/**
  * @depends testAddToEntityList
  */
 public function testAddAnotherToEntityList()
 {
     $dataItem = DIWikiPage::newFromText('Bar');
     $this->query->expects($this->any())->method('getQueryId')->will($this->returnValue('FOO:BAR'));
     $instance = new EntityListAccumulator($this->query);
     $instance->addToEntityList($dataItem);
     $this->assertEquals(array('FOO:BAR' => array('Bar#0#' => $dataItem)), $instance->getEntityList());
 }