/tests/Aura/Cli/MockCommandWrong.php
https://bitbucket.org/harikt/aura.cli · PHP · 14 lines · 14 code · 0 blank · 0 comment · 0 complexity · 5ece14e394918e65c309f426bfb54368 MD5 · raw file
- <?php
- namespace Aura\Cli;
- use Aura\Cli\Stdio as Stdio;
- use Aura\Cli\Getopt as Getopt;
- class MockCommandWrong extends MockCommand
- {
- public function __construct(
- Stdio $stdio,
- Getopt $getopt
- ) {
- parent::__construct($stdio, $getopt);
- throw new \UnexpectedValueException('Child of RuntimeException');
- }
- }