public function testTrimEnd() { $str = new MString('一二三四五 '); $this->assertEquals('一二三四五', \strval($str->trimEnd())); }