Code Duplication    Length = 7-7 lines in 3 locations

plugins/BbcodeParser/tests/TestCase/Lib/BbcodeParserTest.php 3 locations

@@ 27-33 (lines=7) @@
24
    /** @var MarkupSettings */
25
    protected $MarkupSettings;
26
27
    public function testBold()
28
    {
29
        $input = '[b]bold[/b]';
30
        $expected = ['strong' => [], 'bold', '/strong'];
31
        $result = $this->_Parser->parse($input);
32
        $this->assertHtml($expected, $result);
33
    }
34
35
    public function testEmphasis()
36
    {
@@ 35-41 (lines=7) @@
32
        $this->assertHtml($expected, $result);
33
    }
34
35
    public function testEmphasis()
36
    {
37
        $input = '[i]italic[/i]';
38
        $expected = ['em' => [], 'italic', '/em'];
39
        $result = $this->_Parser->parse($input);
40
        $this->assertHtml($expected, $result);
41
    }
42
43
    public function testQuoteblock()
44
    {
@@ 43-49 (lines=7) @@
40
        $this->assertHtml($expected, $result);
41
    }
42
43
    public function testQuoteblock()
44
    {
45
        $input = '[quote]foo bar[/quote]';
46
        $expected = ['blockquote' => [], 'foo bar', '/blockquote'];
47
        $result = $this->_Parser->parse($input);
48
        $this->assertHtml($expected, $result);
49
    }
50
51
    public function testStrike()
52
    {