/**
  * @dataProvider validProvider
  *
  * @param EntityId $entityId
  * @param string $languageCode
  * @param string $expectedString
  */
 public function testParseWithValidArguments(EntityId $entityId, $languageCode, $expectedString)
 {
     $labelDescriptionLookup = $this->getLabelDescriptionLookup($languageCode);
     $formatter = new EntityIdLabelFormatter($labelDescriptionLookup);
     $formattedValue = $formatter->formatEntityId($entityId);
     $this->assertInternalType('string', $formattedValue);
     $this->assertEquals($expectedString, $formattedValue);
 }
 /**
  * @param LabelDescriptionLookup $labelDescriptionLookup
  * @param EntityTitleLookup $entityTitleLookup
  * @param LanguageNameLookup $languageNameLookup
  */
 public function __construct(LabelDescriptionLookup $labelDescriptionLookup, EntityTitleLookup $entityTitleLookup, LanguageNameLookup $languageNameLookup)
 {
     parent::__construct($labelDescriptionLookup);
     $this->entityTitleLookup = $entityTitleLookup;
     $this->languageNameLookup = $languageNameLookup;
 }