oms-Accounting/tests/Models/CreditorTest.php

43 lines
755 B
PHP

<?php
/**
* Orange Management
*
* PHP Version 8.0
*
* @package tests
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
namespace Modules\Accounting\tests\Models;
use Modules\Accounting\Models\Creditor;
/**
* @internal
*/
class CreditorTest extends \PHPUnit\Framework\TestCase
{
private Creditor $creditor;
/**
* {@inheritdoc}
*/
protected function setUp() : void
{
$this->creditor = new Creditor();
}
/**
* @covers Modules\Accounting\Models\Creditor
* @group module
*/
public function testDefault() : void
{
self::assertEquals(0, $this->creditor->getId());
}
}