<?php

namespace Tests\Unit\Services\Settings\SchoolCalendar;

use App\Services\EmailService;
use App\Services\Settings\SchoolCalendar\SchoolCalendarNotificationService;
use Mockery;
use Tests\TestCase;

class SchoolCalendarNotificationServiceTest extends TestCase
{
    public function test_notify_returns_empty_when_no_targets(): void
    {
        $emailService = Mockery::mock(EmailService::class);
        $service = new SchoolCalendarNotificationService($emailService);

        $result = $service->notify(['title' => 'Event'], []);

        $this->assertSame([], $result);
    }
}
