/** * @dataProvider trimLeftProvider() */ public function testTrimLeft($expected, $str, $chars = null, $encoding = null) { $result = S::trimLeft($str, $chars, $encoding); $this->assertInternalType('string', $result); $this->assertEquals($expected, $result); }