infinito/application/symfony/tests/Unit/Domain/ParameterManagement/Parameter/VersionParameterTest.php

21 lines
500 B
PHP
Raw Normal View History

2019-03-28 18:17:06 +01:00
<?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);
2019-03-28 19:15:02 +01:00
$versionParameter = new VersionParameter();
$this->assertEquals($key, $versionParameter::getKey());
2019-03-28 18:17:06 +01:00
}
}