function let(ListRepository $listRepository, SubscriberEvent $event, Subscriber $subscriber)
 {
     $listRepository->findByName('foo')->willReturn(['id' => 123]);
     $event->getListName()->willReturn('foo');
     $event->getSubscriber()->willReturn($subscriber);
     $this->beConstructedWith($listRepository);
 }
 public function onUnsubscribe(SubscriberEvent $event)
 {
     $this->listRepository->unsubscribe($this->getListId($event->getListName()), $event->getSubscriber());
 }