public function it_send_multiple_notification(NotificationDB $notificationRepo) { $notificationData = []; $notificationsSent = 5; $notificationRepo->storeMultiple($notificationData)->shouldBeCalled()->willReturn($notificationsSent); $this->sendMultiple($notificationData)->shouldReturn($notificationsSent); }