<?php

namespace Tests\Unit\Set;

use App\Set\Set as DomainSet;
use Tests\TestCase;

class SetTest extends TestCase
{
    public function testCreatesSetWithName(): void
    {
        $set = new DomainSet(
            id: 1,
            name: 'Daily learning',
            description: 'A structured path for daily growth',
            iconImageUrl: '/assets/daily-learning-icon.svg',
        );

        $this->assertSame(1, $set->getId());
        $this->assertSame('Daily learning', $set->getName());
        $this->assertSame(
            'A structured path for daily growth',
            $set->getDescription()
        );
        $this->assertSame(
            '/assets/daily-learning-icon.svg',
            $set->getIconImageUrl()
        );
    }
}
