for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace N98\Magento\Command\System\Cron;
use N98\Magento\Command\TestCase;
class ScheduleCommandTest extends TestCase
{
public function testExecute()
$input = [
'command' => 'sys:cron:schedule',
'job' => 'backend_clean_cache',
];
$this->assertDisplayContains($input, 'Scheduling Magento\Backend\Cron\CleanCache::execute done');
}