/** @test */
function it_send_now_a_notification(SenderFactory $senderFactory, DefaultSender $sender, StoreNotification $storeNotification)
{
$notifications = [];
$category = 1;
$senderFactory->getSender($notifications, $category)->shouldBeCalled()->willReturn($sender);
$sender->send($storeNotification)->shouldBeCalled()->willReturn(1);
$this->sendNow($notifications, $category)->shouldReturn(1);
}