mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-01-11 20:38:42 +00:00
43 lines
815 B
PHP
Executable File
43 lines
815 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\Helper\tests\Models;
|
|
|
|
use Modules\Helper\Models\NullReport;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
final class NullReportTest extends \PHPUnit\Framework\TestCase
|
|
{
|
|
/**
|
|
* @covers Modules\Helper\Models\NullReport
|
|
* @group framework
|
|
*/
|
|
public function testNull() : void
|
|
{
|
|
self::assertInstanceOf('\Modules\Helper\Models\Report', new NullReport());
|
|
}
|
|
|
|
/**
|
|
* @covers Modules\Helper\Models\NullReport
|
|
* @group framework
|
|
*/
|
|
public function testId() : void
|
|
{
|
|
$null = new NullReport(2);
|
|
self::assertEquals(2, $null->getId());
|
|
}
|
|
}
|