Code Duplication    Length = 7-8 lines in 2 locations

Tests/ImagyTest.php 2 locations

@@ 71-78 (lines=8) @@
68
    }
69
70
    /** @test */
71
    public function it_should_return_thumbnail_path()
72
    {
73
        $path = $this->mediaPath;
74
        $path .= $this->imagy->getThumbnail("{$this->mediaPath}google-map.png", 'smallThumb');
75
        $expected = "{$this->mediaPath}google-map_smallThumb.png";
76
77
        $this->assertEquals($expected, $path);
78
    }
79
80
    /** @test */
81
    public function it_should_return_same_path_for_non_images()
@@ 81-87 (lines=7) @@
78
    }
79
80
    /** @test */
81
    public function it_should_return_same_path_for_non_images()
82
    {
83
        $path = $this->imagy->getThumbnail("{$this->mediaPath}test-pdf.pdf", 'smallThumb');
84
        $expected = "{$this->mediaPath}test-pdf.pdf";
85
86
        $this->assertEquals($expected, $path);
87
    }
88
89
    /** @test */
90
    public function it_should_detect_an_image()