mirror of
https://github.com/Karaka-Management/oms-Support.git
synced 2026-01-11 09:08:40 +00:00
43 lines
878 B
PHP
Executable File
43 lines
878 B
PHP
Executable File
<?php
|
|
/**
|
|
* Karaka
|
|
*
|
|
* PHP Version 8.1
|
|
*
|
|
* @package tests
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 2.0
|
|
* @version 1.0.0
|
|
* @link https://jingga.app
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Modules\Support\tests\Models;
|
|
|
|
use Modules\Support\Models\NullTicketAttribute;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
final class NullTicketAttributeTest extends \PHPUnit\Framework\TestCase
|
|
{
|
|
/**
|
|
* @covers Modules\Support\Models\NullTicketAttribute
|
|
* @group framework
|
|
*/
|
|
public function testNull() : void
|
|
{
|
|
self::assertInstanceOf('\Modules\Support\Models\TicketAttribute', new NullTicketAttribute());
|
|
}
|
|
|
|
/**
|
|
* @covers Modules\Support\Models\NullTicketAttribute
|
|
* @group framework
|
|
*/
|
|
public function testId() : void
|
|
{
|
|
$null = new NullTicketAttribute(2);
|
|
self::assertEquals(2, $null->id);
|
|
}
|
|
}
|