JHtmlStringTest::testTruncate

Tests the JHtmlString::truncate method.