Code Duplication    Length = 17-17 lines in 2 locations

exercises/dependency-heaven/solution/vendor/danielstjules/stringy/tests/StringyTest.php 2 locations

@@ 2124-2140 (lines=17) @@
2121
        $this->assertEquals($str, $stringy);
2122
    }
2123
2124
    public function hasLowerCaseProvider()
2125
    {
2126
        return array(
2127
            array(false, ''),
2128
            array(true, 'foobar'),
2129
            array(false, 'FOO BAR'),
2130
            array(true, 'fOO BAR'),
2131
            array(true, 'foO BAR'),
2132
            array(true, 'FOO BAr'),
2133
            array(true, 'Foobar'),
2134
            array(false, 'FÒÔBÀŘ', 'UTF-8'),
2135
            array(true, 'fòôbàř', 'UTF-8'),
2136
            array(true, 'fòôbàř2', 'UTF-8'),
2137
            array(true, 'Fòô bàř', 'UTF-8'),
2138
            array(true, 'fòôbÀŘ', 'UTF-8'),
2139
        );
2140
    }
2141
2142
    /**
2143
     * @dataProvider isSerializedProvider()
@@ 2205-2221 (lines=17) @@
2202
        $this->assertEquals($str, $stringy);
2203
    }
2204
2205
    public function hasUpperCaseProvider()
2206
    {
2207
        return array(
2208
            array(false, ''),
2209
            array(true, 'FOOBAR'),
2210
            array(false, 'foo bar'),
2211
            array(true, 'Foo bar'),
2212
            array(true, 'FOo bar'),
2213
            array(true, 'foo baR'),
2214
            array(true, 'fOOBAR'),
2215
            array(false, 'fòôbàř', 'UTF-8'),
2216
            array(true, 'FÒÔBÀŘ', 'UTF-8'),
2217
            array(true, 'FÒÔBÀŘ2', 'UTF-8'),
2218
            array(true, 'fÒÔ BÀŘ', 'UTF-8'),
2219
            array(true, 'FÒÔBàř', 'UTF-8'),
2220
        );
2221
    }
2222
2223
    /**
2224
     * @dataProvider isHexadecimalProvider()