Code Duplication    Length = 16-16 lines in 2 locations

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

@@ 3459-3474 (lines=16) @@
3456
    /**
3457
     * @covers PHPUnit_Framework_Assert::assertAttributeEmpty
3458
     */
3459
    public function testAssertAttributeEmpty()
3460
    {
3461
        $o    = new stdClass;
3462
        $o->a = array();
3463
3464
        $this->assertAttributeEmpty('a', $o);
3465
3466
        try {
3467
            $o->a = array('b');
3468
            $this->assertAttributeEmpty('a', $o);
3469
        } catch (PHPUnit_Framework_AssertionFailedError $e) {
3470
            return;
3471
        }
3472
3473
        $this->fail();
3474
    }
3475
3476
    /**
3477
     * @covers PHPUnit_Framework_Assert::assertAttributeNotEmpty
@@ 3479-3494 (lines=16) @@
3476
    /**
3477
     * @covers PHPUnit_Framework_Assert::assertAttributeNotEmpty
3478
     */
3479
    public function testAssertAttributeNotEmpty()
3480
    {
3481
        $o    = new stdClass;
3482
        $o->a = array('b');
3483
3484
        $this->assertAttributeNotEmpty('a', $o);
3485
3486
        try {
3487
            $o->a = array();
3488
            $this->assertAttributeNotEmpty('a', $o);
3489
        } catch (PHPUnit_Framework_AssertionFailedError $e) {
3490
            return;
3491
        }
3492
3493
        $this->fail();
3494
    }
3495
3496
    /**
3497
     * @covers PHPUnit_Framework_Assert::markTestIncomplete