<?php

namespace Tests\Unit\Services\Auth;

use App\Services\Auth\SessionTimeoutConfigService;
use Tests\TestCase;

class SessionTimeoutConfigServiceTest extends TestCase
{
    public function test_config_returns_expected_keys(): void
    {
        $service = new SessionTimeoutConfigService();
        $config = $service->config();

        $this->assertArrayHasKey('timeout', $config);
        $this->assertArrayHasKey('warning_time', $config);
        $this->assertArrayHasKey('check_interval', $config);
        $this->assertArrayHasKey('logout_url', $config);
        $this->assertArrayHasKey('keep_alive_url', $config);
        $this->assertArrayHasKey('check_url', $config);
    }
}
