1 | <?php |
||
10 | class RandomComplimentCommandTest extends \PHPUnit_Framework_TestCase |
||
11 | { |
||
12 | /** @var \PHPUnit_Framework_MockObject_MockObject|OutputInterface */ |
||
13 | private $output; |
||
|
|||
14 | |||
15 | /** @var RandomComplimentCommand */ |
||
16 | private $sut; |
||
17 | |||
18 | protected function setUp() |
||
26 | |||
27 | public function testRunWithDefaultValues() |
||
37 | |||
38 | /** |
||
39 | * @expectedException \InvalidArgumentException |
||
40 | * @throws \InvalidArgumentException |
||
41 | * @throws \Exception |
||
42 | */ |
||
43 | public function testRunWithDirectoryInsteadOfFile() |
||
56 | |||
57 | /** |
||
58 | * @expectedException \InvalidArgumentException |
||
59 | * @throws \InvalidArgumentException |
||
60 | * @throws \Exception |
||
61 | */ |
||
62 | public function testRunWithNonReadableFile() |
||
77 | } |
||
78 |