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