Code Duplication    Length = 10-11 lines in 2 locations

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

@@ 924-934 (lines=11) @@
921
        $this->assertEquals($str, $stringy);
922
    }
923
924
    public function toSpacesProvider()
925
    {
926
        return array(
927
            array('    foo    bar    ', '	foo	bar	'),
928
            array('     foo     bar     ', '	foo	bar	', 5),
929
            array('    foo  bar  ', '		foo	bar	', 2),
930
            array('foobar', '	foo	bar	', 0),
931
            array("    foo\n    bar", "	foo\n	bar"),
932
            array("    fòô\n    bàř", "	fòô\n	bàř")
933
        );
934
    }
935
936
    /**
937
     * @dataProvider toTabsProvider()
@@ 1250-1259 (lines=10) @@
1247
        $this->assertEquals($str, $stringy);
1248
    }
1249
1250
    public function surroundProvider()
1251
    {
1252
        return array(
1253
            array('__foobar__', 'foobar', '__'),
1254
            array('test', 'test', ''),
1255
            array('**', '', '*'),
1256
            array('¬fòô bàř¬', 'fòô bàř', '¬'),
1257
            array('ßå∆˚ test ßå∆˚', ' test ', 'ßå∆˚')
1258
        );
1259
    }
1260
1261
    /**
1262
     * @dataProvider insertProvider()