<?php

declare(strict_types=1);

use Builder\Core\Foundation\Enums\PublicationStatus;

it('label() returns translated label for draft', function (): void {
    expect(PublicationStatus::Draft->label())->toBeString();
});

it('label() returns translated label for published', function (): void {
    expect(PublicationStatus::Published->label())->toBeString();
});

it('label() returns translated label for scheduled', function (): void {
    expect(PublicationStatus::Scheduled->label())->toBeString();
});

it('color() returns gray for draft', function (): void {
    expect(PublicationStatus::Draft->color())->toBe('gray');
});

it('color() returns green for published', function (): void {
    expect(PublicationStatus::Published->color())->toBe('green');
});

it('color() returns yellow for scheduled', function (): void {
    expect(PublicationStatus::Scheduled->color())->toBe('yellow');
});
