Code Duplication    Length = 11-11 lines in 2 locations

tests/unit/TableTest.php 2 locations

@@ 40-50 (lines=11) @@
37
        $this->assertInstanceOf(Table::class, $table);
38
    }
39
40
    public function testShowOutput()
41
    {
42
        $output = Mockery::mock(ConsoleOutputInterface::class);
43
        $table = new Table($output);
44
45
        $this->assertTrue($table->isShowOutput());
46
47
        $this->assertSame($table, $table->setShowOutput(false));
48
49
        $this->assertFalse($table->isShowOutput());
50
    }
51
52
    public function testShowSummary()
53
    {
@@ 52-62 (lines=11) @@
49
        $this->assertFalse($table->isShowOutput());
50
    }
51
52
    public function testShowSummary()
53
    {
54
        $output = Mockery::mock(ConsoleOutputInterface::class);
55
        $table = new Table($output);
56
57
        $this->assertTrue($table->isShowSummary());
58
59
        $this->assertSame($table, $table->setShowSummary(false));
60
61
        $this->assertFalse($table->isShowSummary());
62
    }
63
64
    public function testSpinnerLoop()
65
    {