Code Duplication    Length = 8-12 lines in 2 locations

tests/FigletTest.php 2 locations

@@ 17-24 (lines=8) @@
14
        $this->assertEquals($this->getDefaultBigFontText(), $output);
15
    }
16
17
    public function testRender_SlantFont()
18
    {
19
        $figlet = new Figlet();
20
        $figlet->setFont('slant');
21
        $output = $figlet->render('Test');
22
23
        $this->assertEquals($this->getSlantFontText(), $output);
24
    }
25
26
    public function testRender_StretchedAndColorized()
27
    {
@@ 73-84 (lines=12) @@
70
        $this->assertEquals($this->getDefaultBigFontText(), $output);
71
    }
72
73
    public function testRender_NewFontDir()
74
    {
75
        $figlet = new Figlet();
76
77
        $figlet
78
            ->setFontDir(__DIR__  .'/font/')
79
            ->setFont('slant');
80
81
        $output = $figlet->render('Test');
82
83
        $this->assertEquals($this->getSlantFontText(), $output);
84
    }
85
86
    /**
87
     * @expectedException Exception