for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ParamProcessor\Tests\Unit;
use ParamProcessor\Param;
use ParamProcessor\ParamDefinition;
use PHPUnit\Framework\TestCase;
/**
* @licence GNU GPL v2+
* @author Jeroen De Dauw < [email protected] >
*/
class ParamAliasTest extends TestCase {
public function testListParamProcessingWithEmptyListAsDefault() {
$definition = new ParamDefinition( 'string', 'something' );
$param = new Param( $definition );
$this->assertTrue( $param->isRequired() );
}