mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-03 11:15:04 +02:00
27 lines
411 B
PHP
27 lines
411 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\Unit\Models\Document;
|
|
|
|
use App\Models\Document\Page;
|
|
use Tests\TestCase;
|
|
|
|
/**
|
|
* Class PageTest.
|
|
*/
|
|
class PageTest extends TestCase
|
|
{
|
|
/**
|
|
* Pages shall be nameable.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testNameable(): void
|
|
{
|
|
$page = Page::factory()->createOne();
|
|
|
|
static::assertIsString($page->getName());
|
|
}
|
|
}
|