blob: bd57dbd345f18ff7637a16bbd80a147b3e046697 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
namespace ParamProcessor\Tests\Unit;
use ParamProcessor\Param;
use ParamProcessor\ParamDefinition;
use PHPUnit\Framework\TestCase;
/**
* @licence GNU GPL v2+
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class ParamAliasTest extends TestCase {
public function testListParamProcessingWithEmptyListAsDefault() {
$definition = new ParamDefinition( 'string', 'something' );
$param = new Param( $definition );
$this->assertTrue( $param->isRequired() );
}
}
|