Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | final class NotifyCommandTest extends TestCase |
||
14 | { |
||
15 | public function testExistingTicker(): void |
||
16 | { |
||
17 | $actual = $this->runCommand('GM --channels=fake --maxNews=1 --maxRepetitions=1 --sleepingTime=0'); |
||
18 | self::assertSame(Command::SUCCESS, $actual); |
||
19 | } |
||
20 | |||
21 | public function testNonExistingTicker(): void |
||
25 | } |
||
26 | |||
27 | private function runCommand(string $inputString): int |
||
35 |