public function testPadLeft() { $str = new MString('一二三四五'); $str2 = $str->padLeft(5, new MString('a')); $this->assertEquals('aaaaa一二三四五', \strval($str2)); }