Code Duplication    Length = 7-7 lines in 2 locations

tests/PhpSpreadsheetTests/Shared/StringHelperTest.php 2 locations

@@ 77-83 (lines=7) @@
74
        $this->assertEquals($expectedResult, $result);
75
    }
76
77
    public function testControlCharacterPHP2OOXML()
78
    {
79
        $expectedResult = 'foo_x000B_bar';
80
        $result = StringHelper::controlCharacterPHP2OOXML('foo' . chr(11) . 'bar');
81
82
        $this->assertEquals($expectedResult, $result);
83
    }
84
85
    public function testControlCharacterOOXML2PHP()
86
    {
@@ 85-91 (lines=7) @@
82
        $this->assertEquals($expectedResult, $result);
83
    }
84
85
    public function testControlCharacterOOXML2PHP()
86
    {
87
        $expectedResult = 'foo' . chr(11) . 'bar';
88
        $result = StringHelper::controlCharacterOOXML2PHP('foo_x000B_bar');
89
90
        $this->assertEquals($expectedResult, $result);
91
    }
92
93
    public function testSYLKtoUTF8()
94
    {