<?php

declare(strict_types=1);

use App\Filament\Resources\BackupScheduleResource;
use App\Filament\Resources\FindingResource;
use App\Filament\Resources\ProviderConnectionResource;
use App\Filament\Resources\ManagedEnvironmentResource;
use App\Filament\Resources\Workspaces\WorkspaceResource;
use App\Support\Ui\ActionSurface\ActionSurfaceExemptions;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

final class ActionSurfaceSmokeTest extends TestCase
{
    use RefreshDatabase;

    public function test_spec090_removes_in_scope_resources_from_baseline_action_surface_exemptions(): void
    {
        $exemptions = ActionSurfaceExemptions::baseline();

        $this->assertFalse($exemptions->hasClass(ProviderConnectionResource::class));
        $this->assertFalse($exemptions->hasClass(BackupScheduleResource::class));
        $this->assertFalse($exemptions->hasClass(FindingResource::class));
        $this->assertFalse($exemptions->hasClass(ManagedEnvironmentResource::class));
        $this->assertFalse($exemptions->hasClass(WorkspaceResource::class));
    }
}
