protected function setUp()
 {
     $this->labelService = $this->getMock(LabelServiceInterface::class);
     $this->labelImporter = new LabelImporter($this->labelService);
     $this->labelService->expects($this->at(0))->method('createLabelAggregateIfNew')->with(new LabelName('2dotstwice'), true);
     $this->labelService->expects($this->at(1))->method('createLabelAggregateIfNew')->with(new LabelName('cultuurnet'), false);
 }
 /**
  * @param \CultureFeed_Cdb_Item_Base $cdbItem
  */
 private function createLabelAggregatesFromCdbItem(\CultureFeed_Cdb_Item_Base $cdbItem)
 {
     /* @var \CultureFeed_Cdb_Data_Keyword[] $keywords */
     $keywords = $cdbItem->getKeywords(true);
     foreach ($keywords as $keyword) {
         $this->labelService->createLabelAggregateIfNew(new LabelName($keyword->getValue()), $keyword->isVisible());
     }
 }