/** * Test... * * @param string $string @todo * @param string $charlist @todo * @param string $expect @todo * * @return array * * @covers Windwalker\String\Utf8String::ltrim * @dataProvider seedTestLtrim * @since 1.0 */ public function testLtrim($string, $charlist, $expect) { if ($charlist === null) { $actual = Utf8String::ltrim($string); } else { $actual = Utf8String::ltrim($string, $charlist); } $this->assertEquals($expect, $actual); }