Code Duplication    Length = 10-10 lines in 2 locations

tests/Unit/Printer/CoveragePrinterTest.php 2 locations

@@ 19-28 (lines=10) @@
16
 */
17
class CoveragePrinterTest extends BaseUnitTestCase
18
{
19
    public function testOnEngineBeforeStartWithPHPDBGEngine()
20
    {
21
        $output = new UnformattedOutputStub();
22
23
        $printer = new CoveragePrinter($this->mockPhpdbgBin(true), $this->mockXdebugLoaded(false), $output);
24
25
        $printer->onEngineBeforeStart();
26
27
        $this->assertContains('Coverage driver in use: PHPDBG', $output->getOutput());
28
    }
29
30
    public function testOnEngineBeforeStartWithxDebugEngine()
31
    {
@@ 30-39 (lines=10) @@
27
        $this->assertContains('Coverage driver in use: PHPDBG', $output->getOutput());
28
    }
29
30
    public function testOnEngineBeforeStartWithxDebugEngine()
31
    {
32
        $output = new UnformattedOutputStub();
33
34
        $printer = new CoveragePrinter($this->mockPhpdbgBin(false), $this->mockXdebugLoaded(true), $output);
35
36
        $printer->onEngineBeforeStart();
37
38
        $this->assertContains('Coverage driver in use: xDebug', $output->getOutput());
39
    }
40
41
    public function testOnEngineBeforeStartWithWarningForBothEnginesEnabled()
42
    {