/**
  * @test
  */
 public function it_returns_the_correct_property_values()
 {
     $expectedId = 'someid';
     $expectedLanguage = 'fr';
     $applyTranslation = new DeleteTranslation(new String('someid'), new Language('fr'));
     $this->assertEquals($expectedId, $applyTranslation->getEventId());
     $this->assertEquals($expectedLanguage, $applyTranslation->getLanguage());
 }
 /**
  * @param DeleteTranslation $deleteTranslation
  */
 public function handleDeleteTranslation(DeleteTranslation $deleteTranslation)
 {
     /** @var Event $event */
     $event = $this->eventRepository->load($deleteTranslation->getEventId()->toNative());
     $event->deleteTranslation($deleteTranslation->getLanguage());
     $this->eventRepository->save($event);
 }