storeMultiple() public méthode

Save multiple notifications sent at once.
public storeMultiple ( array $info ) : mixed
$info array
Résultat mixed
 /**
  * Send multiple notifications
  *
  * @param  StoreNotification $sender
  * @return mixed
  */
 public function send(StoreNotification $sender)
 {
     return $sender->storeMultiple($this->infoNotifications);
 }
 /** @test */
 function it_send_multiple_notification(StoreNotification $storeNotification)
 {
     $multiple = [];
     $storeNotification->storeMultiple($multiple)->shouldBeCalled()->willReturn(1);
     $this->send($storeNotification)->shouldReturn(1);
 }