--- /dev/null
+package org.plog4u.wiki.test.filter;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.plog4u.wiki.filter.WikipediaFilter;
+
+public class WPLinkFilterTest extends FilterTestSupport {
+ public WPLinkFilterTest(String name) {
+ super(name);
+ }
+
+ protected void setUp() throws Exception {
+ filter = new WikipediaFilter();
+ super.setUp();
+ }
+
+ public static Test suite() {
+ return new TestSuite(WPLinkFilterTest.class);
+ }
+
+ public void testLink() {
+ assertEquals("Category:Tips & Tricks", filter.filter("[[Category:Tips & Tricks]]", context));
+ }
+
+}