@@ -0,0 +1,948 @@
+package de.ronnyfriedland.knowledgebase.util;%0A%0Aimport org.apache.commons.lang.StringUtils;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0A/**%0A * @author ronnyfriedland%0A */%0Apublic class TextUtilsTest %7B%0A%0A    /**%0A     * Test method for %7B@link de.ronnyfriedland.knowledgebase.util.TextUtils#replaceInvalidChars(java.lang.String)%7D.%0A     */%0A    @Test%0A    public void testReplaceInvalidChars() %7B%0A        String valid = %22abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWQYZ-_%22;%0A        String invalid = %22!%5C%22%C2%A7$%25&/()=?%60@*':;,.#+%3C%3E%7C%C3%A4%C3%B6%C3%BC%C3%9F%22;%0A%0A        String result = TextUtils.replaceInvalidChars(valid);%0A        Assert.assertEquals(valid, result);%0A%0A        result = TextUtils.replaceInvalidChars(invalid);%0A        Assert.assertEquals(StringUtils.repeat(%22_%22, invalid.length()), result);%0A%0A        result = TextUtils.replaceInvalidChars(valid + invalid);%0A        Assert.assertEquals(valid + StringUtils.repeat(%22_%22, invalid.length()), result);%0A    %7D%0A%0A%7D%0A

add test for TextUtils