/** * @dataProvider tidyProvider() */ public function testTidy($expected, $str) { $result = S::tidy($str); $this->assertInternalType('string', $result); $this->assertEquals($expected, $result); }
public function tidy($string) { return Stringy::tidy($string); }