<?php

declare(strict_types=1);

use Builder\Seo\Enums\RedirectType;

it('Permanent has value permanent', function (): void {
    expect(RedirectType::Permanent->value)->toBe('permanent');
});

it('Temporary has value temporary', function (): void {
    expect(RedirectType::Temporary->value)->toBe('temporary');
});

it('Permanent statusCode returns 301', function (): void {
    expect(RedirectType::Permanent->statusCode())->toBe(301);
});

it('Temporary statusCode returns 302', function (): void {
    expect(RedirectType::Temporary->statusCode())->toBe(302);
});
