public function testJoin() { $arr = array('red', 'green', 'blue'); $str = MString::join($arr, new MString('一二三四五')); $expected = 'red一二三四五green一二三四五blue'; $this->assertEquals($expected, \strval($str)); }