@@ -0,0 +1,1218 @@
+package org.aksw.limes.core.io.preprocessing;%0A%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport org.aksw.limes.core.io.parser.Parser;%0Aimport org.junit.Test;%0A%0Apublic class PreprocessorTest %7B%0A%0A%09private static final String TEST_URI = %22http://dbpedia.org/resource/Category:Random_House_books%22;%0A%09%0A%09@Test%0A%09public void testUriString() %7B%0A%09%09String anObject = %22Random House books%22;%0A%09%09String process = Preprocessor.process(TEST_URI, Preprocessor.URI_AS_STRING);%0A%09%09assertTrue(process.equals(anObject));%0A%09%7D%0A%09%0A%09@Test%0A%09public void testLowerCase() %7B%0A%09%09String anObject = %22http://dbpedia.org/resource/category:random_house_books%22;%0A%09%09String process = Preprocessor.process(TEST_URI, Preprocessor.LOWER_CASE);%0A%09%09assertTrue(process.equals(anObject));%0A%09%7D%0A%09%0A%09@Test%0A%09public void testUpperCase() %7B%0A%09%09String anObject = %22HTTP://DBPEDIA.ORG/RESOURCE/CATEGORY:RANDOM_HOUSE_BOOKS%22;%0A%09%09String process = Preprocessor.process(TEST_URI, Preprocessor.UPPER_CASE);%0A%09%09assertTrue(process.equals(anObject));%0A%09%7D%0A%09%0A%09@Test%0A%09public void testReplace() %7B%0A%09%09String anObject = %22http://dbpedia.org/resource/:Random_House_books%22;%0A%09%09String process = Preprocessor.process(TEST_URI, Preprocessor.REPLACE + %22(Category,)%22);%0A%09%09assertTrue(process.equals(anObject));%0A%09%7D%0A%09%0A%0A%7D%0A

add test for preprocessor