Code Duplication    Length = 10-10 lines in 2 locations

tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php 2 locations

@@ 68-77 (lines=10) @@
65
    /**
66
     * @group DDC-318
67
     */
68
    public function testGetAllClassNamesIsIdempotent()
69
    {
70
        $annotationDriver = $this->loadDriverForCMSModels();
71
        $original = $annotationDriver->getAllClassNames();
72
73
        $annotationDriver = $this->loadDriverForCMSModels();
74
        $afterTestReset = $annotationDriver->getAllClassNames();
75
76
        self::assertEquals($original, $afterTestReset);
77
    }
78
79
    /**
80
     * @group DDC-318
@@ 82-91 (lines=10) @@
79
    /**
80
     * @group DDC-318
81
     */
82
    public function testGetAllClassNamesIsIdempotentEvenWithDifferentDriverInstances()
83
    {
84
        $annotationDriver = $this->loadDriverForCMSModels();
85
        $original = $annotationDriver->getAllClassNames();
86
87
        $annotationDriver = $this->loadDriverForCMSModels();
88
        $afterTestReset = $annotationDriver->getAllClassNames();
89
90
        self::assertEquals($original, $afterTestReset);
91
    }
92
93
    /**
94
     * @group DDC-318