for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ComposerRequireCheckerTest\Cli;
use ComposerRequireChecker\Cli\Application;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Console\Command\Command;
final class ApplicationTest extends TestCase
{
/**
* @var Application
*/
private $application;
protected function setUp(): void
$this->application = new Application();
}
public function testCheckCommandExists(): void
$this->assertTrue($this->application->has('check'));
$this->assertInstanceOf(Command::class, $this->application->get('check'));