for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Zenstruck\Callback\Tests\Parameter;
use PHPUnit\Framework\TestCase;
use Zenstruck\Callback\Parameter\UnionParameter;
/**
* @author Kevin Bond <[email protected]>
*/
final class UnionParameterTest extends TestCase
{
* @test
public function must_have_at_least_one_parameter(): void
$this->expectException(\InvalidArgumentException::class);
new UnionParameter();
}