public function testChopPunctuation() { $str = "This is a string. It has punctuation. No ellipsis should be added after punctuation."; $expected = "This is a string. It has punctuation."; $this->assertEquals($expected, ZFE_Util_String::chop($str, 37)); }