for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Bowerphp\Test\Command\Helper;
use PHPUnit\Framework\TestCase;
class QuestionHelperTest extends TestCase
{
public function testGetQuestion()
$helper = new \Bowerphp\Command\Helper\QuestionHelper();
$this->assertEquals('<info>This is a question</info> [<comment>default reply</comment>]: ', $helper->getQuestion('This is a question', 'default reply')->getQuestion());
$this->assertEquals('<info>Another question</info>- ', $helper->getQuestion('Another question', null, '-')->getQuestion());
}