oms-Billing/tests/Models/NullBillTypeTest.php
2022-02-19 13:57:38 +01:00

43 lines
834 B
PHP

<?php
/**
* Karaka
*
* PHP Version 8.0
*
* @package tests
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://karaka.app
*/
declare(strict_types=1);
namespace Modules\Billing\tests\Models;
use Modules\Billing\Models\NullBillType;
/**
* @internal
*/
final class NullBillTypeTest extends \PHPUnit\Framework\TestCase
{
/**
* @covers Modules\Billing\Models\NullBillType
* @group framework
*/
public function testNull() : void
{
self::assertInstanceOf('\Modules\Billing\Models\BillType', new NullBillType());
}
/**
* @covers Modules\Billing\Models\NullBillType
* @group framework
*/
public function testId() : void
{
$null = new NullBillType(2);
self::assertEquals(2, $null->getId());
}
}