mirror of
https://github.com/Karaka-Management/oms-RiskManagement.git
synced 2026-01-11 03:18:41 +00:00
41 lines
892 B
PHP
Executable File
41 lines
892 B
PHP
Executable File
<?php
|
|
/**
|
|
* Jingga
|
|
*
|
|
* 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\RiskManagement\tests\Models;
|
|
|
|
use Modules\RiskManagement\Models\Solution;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
final class SolutionTest extends \PHPUnit\Framework\TestCase
|
|
{
|
|
/**
|
|
* @covers \Modules\RiskManagement\Models\Solution
|
|
* @group module
|
|
*/
|
|
public function testDefault() : void
|
|
{
|
|
$obj = new Solution();
|
|
|
|
self::assertEquals(0, $obj->id);
|
|
self::assertEquals('', $obj->title);
|
|
self::assertEquals('', $obj->description);
|
|
self::assertEquals('', $obj->descriptionRaw);
|
|
self::assertEquals(0, $obj->probability);
|
|
self::assertEquals(0, $obj->cause);
|
|
self::assertEquals(0, $obj->risk);
|
|
}
|
|
}
|