public function it_try_to_find_an_inexistent_notification(NotificationDB $notificationRepo) { $notification_id = 1; $notificationRepo->find($notification_id)->shouldBeCalled()->willReturn(null); $this->shouldThrow(NotificationNotFoundException::class)->during('find', [$notification_id]); }