Code Duplication    Length = 10-10 lines in 2 locations

tests/Doubler/Generator/ClassMirrorTest.php 2 locations

@@ 222-231 (lines=10) @@
219
    /**
220
     * @test
221
     */
222
    public function it_ignores_final_methods()
223
    {
224
        $class = new \ReflectionClass('Fixtures\Prophecy\WithFinalMethod');
225
226
        $mirror = new ClassMirror();
227
228
        $classNode = $mirror->reflect($class, array());
229
230
        $this->assertCount(0, $classNode->getMethods());
231
    }
232
233
    /**
234
     * @test
@@ 290-299 (lines=10) @@
287
    /**
288
     * @test
289
     */
290
    public function it_does_not_throw_exception_for_virtually_private_finals()
291
    {
292
        $class = new \ReflectionClass('Fixtures\Prophecy\WithFinalVirtuallyPrivateMethod');
293
294
        $mirror = new ClassMirror();
295
296
        $classNode = $mirror->reflect($class, array());
297
298
        $this->assertCount(0, $classNode->getMethods());
299
    }
300
301
    /**
302
     * @test