<?php

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 = ResourceTypeResource::fromSlug('reef:iam:principal');

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