<?php

use App\Enums\PostStatus;

test('post status has correct cases', function () {
    expect(PostStatus::cases())->toHaveCount(2);
});

test('post status draft has correct value', function () {
    expect(PostStatus::Draft->value)->toBe('draft');
});

test('post status published has correct value', function () {
    expect(PostStatus::Published->value)->toBe('published');
});
