Code Duplication    Length = 8-8 lines in 2 locations

vendor/phpunit/phpunit/tests/Framework/TestCaseTest.php 2 locations

@@ 400-407 (lines=8) @@
397
        $this->assertTrue($result->wasSuccessful());
398
    }
399
400
    public function testExpectOutputStringFooActualBar()
401
    {
402
        $test   = new OutputTestCase('testExpectOutputStringFooActualBar');
403
        $result = $test->run();
404
405
        $this->assertEquals(1, count($result));
406
        $this->assertFalse($result->wasSuccessful());
407
    }
408
409
    public function testExpectOutputRegexFooActualFoo()
410
    {
@@ 418-425 (lines=8) @@
415
        $this->assertTrue($result->wasSuccessful());
416
    }
417
418
    public function testExpectOutputRegexFooActualBar()
419
    {
420
        $test   = new OutputTestCase('testExpectOutputRegexFooActualBar');
421
        $result = $test->run();
422
423
        $this->assertEquals(1, count($result));
424
        $this->assertFalse($result->wasSuccessful());
425
    }
426
427
    public function testSkipsIfRequiresHigherVersionOfPHPUnit()
428
    {