/**
  * @dataProvider provideGetLabelDescriptionLookup_failure
  */
 public function testGetLabelDescriptionLookup_failure(FormatterOptions $options)
 {
     $termLookup = $this->getMock('Wikibase\\DataModel\\Services\\Lookup\\TermLookup');
     $factory = new FormatterLabelDescriptionLookupFactory($termLookup);
     $this->setExpectedException('InvalidArgumentException');
     $factory->getLabelDescriptionLookup($options);
 }
 /**
  * @param FormatterOptions $options
  *
  * @return VocabularyUriFormatter
  */
 private function getVocabularyUriFormatter(FormatterOptions $options)
 {
     $labelLookup = $this->labelDescriptionLookupFactory->getLabelDescriptionLookup($options);
     return new VocabularyUriFormatter($this->repoUriParser, $labelLookup, $this->unitOneUris);
 }