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