Mercurial > hg > isophonics-drupal-site
comparison vendor/psy/psysh/test/Command/ExitCommandTest.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:e200cb7efeb3 | 16:c2387f117808 |
---|---|
1 <?php | |
2 | |
3 /* | |
4 * This file is part of Psy Shell. | |
5 * | |
6 * (c) 2012-2018 Justin Hileman | |
7 * | |
8 * For the full copyright and license information, please view the LICENSE | |
9 * file that was distributed with this source code. | |
10 */ | |
11 | |
12 namespace Symfony\Component\Console\Tests\Command; | |
13 | |
14 use Psy\Command\ExitCommand; | |
15 use Symfony\Component\Console\Tester\CommandTester; | |
16 | |
17 class ExitCommandTest extends \PHPUnit\Framework\TestCase | |
18 { | |
19 /** | |
20 * @expectedException \Psy\Exception\BreakException | |
21 * @expectedExceptionMessage Goodbye | |
22 */ | |
23 public function testExecute() | |
24 { | |
25 $command = new ExitCommand(); | |
26 $tester = new CommandTester($command); | |
27 $tester->execute([]); | |
28 } | |
29 } |