Code Duplication    Length = 8-9 lines in 2 locations

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

@@ 372-379 (lines=8) @@
369
        $this->assertSame(0, self::$_testStatic);
370
    }
371
372
    public function testIsInIsolationReturnsFalse()
373
    {
374
        $test   = new IsolationTest('testIsInIsolationReturnsFalse');
375
        $result = $test->run();
376
377
        $this->assertEquals(1, count($result));
378
        $this->assertTrue($result->wasSuccessful());
379
    }
380
381
    public function testIsInIsolationReturnsTrue()
382
    {
@@ 381-389 (lines=9) @@
378
        $this->assertTrue($result->wasSuccessful());
379
    }
380
381
    public function testIsInIsolationReturnsTrue()
382
    {
383
        $test   = new IsolationTest('testIsInIsolationReturnsTrue');
384
        $test->setRunTestInSeparateProcess(true);
385
        $result = $test->run();
386
387
        $this->assertEquals(1, count($result));
388
        $this->assertTrue($result->wasSuccessful());
389
    }
390
391
    public function testExpectOutputStringFooActualFoo()
392
    {