public function find($notificationId) { return $this->notification->find($notificationId); }
/** @test */ function it_find_a_notification_by_id() { $notificationToSearch = $this->createNotification(); $notification = $this->notificationRepo->find($notificationToSearch->id); $this->assertEquals($notificationToSearch->id, $notification->id); }