public function testGetEntityDocumentWithoutDocument()
 {
     $lookup = new InMemoryEntityLookup([]);
     $this->assertNull($lookup->getEntityDocumentForId(new ItemId('Q42')));
 }
 public function testGetEntityDocumentWithException()
 {
     $lookup = new InMemoryEntityLookup(array());
     $this->setExpectedException('Wikibase\\EntityStore\\EntityNotFoundException');
     $lookup->getEntityDocumentForId(new ItemId('Q42'));
 }