Code Duplication    Length = 10-10 lines in 2 locations

tests/Doubler/Generator/ClassMirrorTest.php 2 locations

@@ 206-215 (lines=10) @@
203
    /**
204
     * @test
205
     */
206
    public function it_throws_an_exception_if_class_is_final()
207
    {
208
        $class = new \ReflectionClass('Fixtures\Prophecy\FinalClass');
209
210
        $mirror = new ClassMirror();
211
212
        $this->setExpectedException('Prophecy\Exception\Doubler\ClassMirrorException');
213
214
        $mirror->reflect($class, array());
215
    }
216
217
    /**
218
     * @test
@@ 249-258 (lines=10) @@
246
    /**
247
     * @test
248
     */
249
    public function it_throws_an_exception_if_interface_provided_instead_of_class()
250
    {
251
        $class = new \ReflectionClass('Fixtures\Prophecy\EmptyInterface');
252
253
        $mirror = new ClassMirror();
254
255
        $this->setExpectedException('Prophecy\Exception\InvalidArgumentException');
256
257
        $mirror->reflect($class, array());
258
    }
259
260
    /**
261
     * @test