/** * @expectedException \OutOfRangeException */ public function testInvalidInsert() { $str = new MString('一二三四五'); $str->insert(5, new MString('abc')); }