Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 3802-3808 (lines=7) @@
3799
    /**
3800
     * @covers PHPUnit_Framework_Assert::assertJsonStringEqualsJsonFile
3801
     */
3802
    public function testAssertJsonStringEqualsJsonFile()
3803
    {
3804
        $file    = __DIR__ . '/../_files/JsonData/simpleObject.json';
3805
        $actual  = json_encode(array('Mascott' => 'Tux'));
3806
        $message = '';
3807
        $this->assertJsonStringEqualsJsonFile($file, $actual, $message);
3808
    }
3809
3810
    /**
3811
     * @covers PHPUnit_Framework_Assert::assertJsonStringEqualsJsonFile
@@ 3849-3855 (lines=7) @@
3846
    /**
3847
     * @covers PHPUnit_Framework_Assert::assertJsonStringNotEqualsJsonFile
3848
     */
3849
    public function testAssertJsonStringNotEqualsJsonFile()
3850
    {
3851
        $file    = __DIR__ . '/../_files/JsonData/simpleObject.json';
3852
        $actual  = json_encode(array('Mascott' => 'Beastie'));
3853
        $message = '';
3854
        $this->assertJsonStringNotEqualsJsonFile($file, $actual, $message);
3855
    }
3856
3857
    /**
3858
     * @covers PHPUnit_Framework_Assert::assertJsonStringNotEqualsJsonFile