Files
animethemes-server/tests/Unit/Models/Admin/DumpTest.php
T
2024-05-23 17:22:01 -03:00

39 lines
640 B
PHP

<?php
declare(strict_types=1);
namespace Tests\Unit\Models\Admin;
use App\Models\Admin\Dump;
use Tests\TestCase;
/**
* Class DumpTest.
*/
class DumpTest extends TestCase
{
/**
* Dumps shall be nameable.
*
* @return void
*/
public function testNameable(): void
{
$dump = Dump::factory()->createOne();
static::assertIsString($dump->getName());
}
/**
* Dumps shall have subtitle.
*
* @return void
*/
public function testHasSubtitle(): void
{
$dump = Dump::factory()->createOne();
static::assertIsString($dump->getSubtitle());
}
}