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_throws_an_exception_if_class_is_final()
223
    {
224
        $class = new \ReflectionClass('Fixtures\Prophecy\FinalClass');
225
226
        $mirror = new ClassMirror();
227
228
        $this->setExpectedException('Prophecy\Exception\Doubler\ClassMirrorException');
229
230
        $mirror->reflect($class, array());
231
    }
232
233
    /**
234
     * @test
@@ 265-274 (lines=10) @@
262
    /**
263
     * @test
264
     */
265
    public function it_throws_an_exception_if_interface_provided_instead_of_class()
266
    {
267
        $class = new \ReflectionClass('Fixtures\Prophecy\EmptyInterface');
268
269
        $mirror = new ClassMirror();
270
271
        $this->setExpectedException('Prophecy\Exception\InvalidArgumentException');
272
273
        $mirror->reflect($class, array());
274
    }
275
276
    /**
277
     * @test