<?php

declare(strict_types=1);

namespace NoahVet\Reef\Test\A_Unit\Security\IAM\Model;

use NoahVet\Reef\Security\IAM\Model\ResourceTypeResource;
use PHPUnit\Framework\TestCase;

class ResourceTypeResourceTest extends TestCase
{
    public function testValues(): void
    {
        $resource = new ResourceTypeResource('reef:iam:principal');

        self::assertEquals('reef:iam:resourceType', $resource->getResourceType()->getSlug());
        self::assertEquals('reef:iam:principal', $resource->getSlug());
    }
}
