mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 22:37:28 +01:00
21 lines
500 B
PHP
21 lines
500 B
PHP
<?php
|
|
|
|
namespace tests\Unit\Domain\ParameterManagement\Parameter;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use Infinito\Domain\ParameterManagement\Parameter\VersionParameter;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
class VersionParameterTest extends TestCase
|
|
{
|
|
public function testKey(): void
|
|
{
|
|
$key = VersionParameter::getKey();
|
|
$this->assertEquals('version', $key);
|
|
$versionParameter = new VersionParameter();
|
|
$this->assertEquals($key, $versionParameter::getKey());
|
|
}
|
|
}
|