<?php

namespace Tests\Unit\Services\Frontend;

use App\Services\Frontend\FrontendPageService;
use Tests\TestCase;

class FrontendPageServiceTest extends TestCase
{
    public function test_page_returns_payload(): void
    {
        $service = new FrontendPageService();
        $payload = $service->page('index');

        $this->assertSame('index', $payload['page']);
    }
}
