Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function testConfigureExpress(): void |
||
20 | { |
||
21 | $io = $this->getIOMock(); |
||
22 | $config = $this->getConfigMock(); |
||
23 | $config->expects($this->exactly(2))->method('getHookConfig')->willReturn($this->getHookConfigMock()); |
||
24 | $io->method('ask')->will($this->onConsecutiveCalls('y', 'y', 'y', 'phpunit', 'y', 'phpcs')); |
||
25 | |||
26 | $setup = new Express($io); |
||
27 | $setup->configureHooks($config); |
||
28 | } |
||
30 |