public function testSetVerbosityDebugIfInDebugMode()
 {
     $this->config->setDebug(true)->beginCommand('command')->setHandler(new CallbackHandler(function (Args $args, IO $io) {
         PHPUnit_Framework_Assert::assertTrue($io->isVerbose());
         PHPUnit_Framework_Assert::assertTrue($io->isVeryVerbose());
         PHPUnit_Framework_Assert::assertTrue($io->isDebug());
         return 123;
     }))->end();
     $application = new ConsoleApplication($this->config);
     $args = new StringArgs('command');
     $inputStream = new StringInputStream();
     $outputStream = new BufferedOutputStream();
     $errorStream = new BufferedOutputStream();
     $status = $application->run($args, $inputStream, $outputStream, $errorStream);
     $this->assertSame(123, $status);
 }