public function testGetWikiValueForLengthOf() { $instance = new StringValue('_txt'); $instance->setUserValue('abcdefあいうエオ'); $this->assertEquals('abcdefあい', $instance->getWikiValueForLengthOf(8)); $this->assertEquals('abcdefあいうエオ', $instance->getWikiValueForLengthOf(14)); }