    public void defaultConfiguration() {
        assertProcess("Simple text", "Simple text");
        assertProcess("&amp;", "&");
        assertProcess("&apos;", "'");
        assertProcess("&lt;", "<");
        assertProcess("&gt;", ">");
        assertProcess("&quot;", "\"");
        assertProcess("<br/>", "\r\n");
        assertProcess("<br/>", "\n\r");
        assertProcess("<br/>", "\r");
        assertProcess("<br/>", "\n");
        assertProcess("\\", "\\\\");
        assertProcess("[", "\\[");
        assertProcess("]", "\\]");
        assertProcess("<span style=\"font-weight:bold;\">test</span>", "[b]test[/b]");
        assertProcess("<span style=\"text-decoration:underline;\">test</span>", "[u]test[/u]");
        assertProcess("<span style=\"text-decoration:line-through;\">test</span>", "[s]test[/s]");
        assertProcess("<span style=\"font-style:italic;\">test</span>", "[i]test[/i]");
        assertProcess("<img src=\"http://kefir-bb.sourceforge.net/ava.jpg\"/>", "[img]http://kefir-bb.sourceforge.net/ava.jpg[/img]");
        assertProcess("<img src=\"/ava.jpg\"/>", "[img]/ava.jpg[/img]");
        assertProcess("<a href=\"http://kefir-bb.sourceforge.net\">KefirBB</a>", "[url=http://kefir-bb.sourceforge.net]KefirBB[/url]");
        assertProcess("<a href=\"http://kefir-bb.sourceforge.net\">http://kefir-bb.sourceforge.net</a>", "[url]http://kefir-bb.sourceforge.net[/url]");
        assertProcess("<a href=\"http://kefir-bb.sourceforge.net\">KefirBB</a>", "[url=kefir-bb.sourceforge.net]KefirBB[/url]");
        assertProcess("<a href=\"http://kefir-bb.sourceforge.net\">kefir-bb.sourceforge.net</a>", "[url]kefir-bb.sourceforge.net[/url]");
        assertProcess("<a href=\"https://securedsite.org\">Secured</a>", "[url=https://securedsite.org]Secured[/url]");
        assertProcess("<a href=\"https://securedsite.org\">https://securedsite.org</a>", "[url]https://securedsite.org[/url]");
        assertProcess("<a href=\"mailto:kefir@perm.ru\">Mail to Kefir</a>", "[url=mailto:kefir@perm.ru]Mail to Kefir[/url]");
        assertProcess("<a href=\"mailto:kefir@perm.ru\">mailto:kefir@perm.ru</a>", "[url]mailto:kefir@perm.ru[/url]");
        assertProcess("<a href=\"/test.xml\">Test</a>", "[url=/test.xml]Test[/url]");
        assertProcess("<a href=\"/test.xml\">/test.xml</a>", "[url]/test.xml[/url]");
        assertProcess("<a href=\"./test.xml\">Test</a>", "[url=./test.xml]Test[/url]");
        assertProcess("<a href=\"./test.xml\">./test.xml</a>", "[url]./test.xml[/url]");
        assertProcess("<a href=\"../test.xml\">Test</a>", "[url=../test.xml]Test[/url]");
        assertProcess("<a href=\"../test.xml\">../test.xml</a>", "[url]../test.xml[/url]");
        assertProcess("<a href=\"http://javascript:alert(&apos;Kefir is stupid!&apos;);\">javascript:alert(&apos;Kefir is stupid!&apos;);</a>", "[url]javascript:alert('Kefir is stupid!');[/url]");
        assertProcess("<span style=\"color:red;\">Red text</span>", "[color=red]Red text[/color]");
        assertProcess("<span style=\"font-size:14px;\">Test</span>", "[size=14px]Test[/size]");
        assertProcess("<blockquote>Quoted text</blockquote>", "[quote]Quoted text[/quote]");
        assertProcess("&laquo;Test&raquo;", "[aquote]Test[/aquote]");
        assertProcess("", "[*Comment*]");
        assertProcess("&copy;", "[symbol=copy/]");
    }

    public void defaultConfiguration() {
        assertProcess("Simple text", "Simple text");
        assertProcess("&amp;", "&");
        assertProcess("&apos;", "'");
        assertProcess("&lt;", "<");
        assertProcess("&gt;", ">");
        assertProcess("&quot;", "\"");
        assertProcess("<br/>", "\r\n");
        assertProcess("<br/>", "\n\r");
        assertProcess("<br/>", "\r");
        assertProcess("<br/>", "\n");
        assertProcess("\\", "\\\\");
        assertProcess("[", "\\[");
        assertProcess("]", "\\]");
        assertProcess("<span style=\"font-weight:bold;\">test</span>", "[B]test[/b]");
        assertProcess("<span style=\"text-decoration:underline;\">test</span>", "[u]test[/u]");
        assertProcess("<span style=\"text-decoration:line-through;\">test</span>", "[s]test[/s]");
        assertProcess("<span style=\"font-style:italic;\">test</span>", "[i]test[/i]");
        assertProcess("<img src=\"http://kefir-bb.sourceforge.net/ava.jpg\"/>", "[img]http://kefir-bb.sourceforge.net/ava.jpg[/img]");
        assertProcess("<img src=\"/ava.jpg\"/>", "[img]/ava.jpg[/img]");
        assertProcess("<a href=\"http://kefir-bb.sourceforge.net\">KefirBB</a>", "[url=http://kefir-bb.sourceforge.net]KefirBB[/url]");
        assertProcess("<a href=\"http://kefir-bb.sourceforge.net\">http://kefir-bb.sourceforge.net</a>", "[url]http://kefir-bb.sourceforge.net[/url]");
        assertProcess("<a href=\"http://kefir-bb.sourceforge.net\">KefirBB</a>", "[url=kefir-bb.sourceforge.net]KefirBB[/url]");
        assertProcess("<a href=\"http://kefir-bb.sourceforge.net\">kefir-bb.sourceforge.net</a>", "[url]kefir-bb.sourceforge.net[/url]");
        assertProcess("<a href=\"https://securedsite.org\">Secured</a>", "[url=https://securedsite.org]Secured[/url]");
        assertProcess("<a href=\"https://securedsite.org\">https://securedsite.org</a>", "[url]https://securedsite.org[/url]");
        assertProcess("<a href=\"mailto:kefir@perm.ru\">Mail to Kefir</a>", "[url=mailto:kefir@perm.ru]Mail to Kefir[/url]");
        assertProcess("<a href=\"mailto:kefir@perm.ru\">mailto:kefir@perm.ru</a>", "[url]mailto:kefir@perm.ru[/url]");
        assertProcess("<a href=\"/test.xml\">Test</a>", "[url=/test.xml]Test[/url]");
        assertProcess("<a href=\"/test.xml\">/test.xml</a>", "[url]/test.xml[/url]");
        assertProcess("<a href=\"./test.xml\">Test</a>", "[url=./test.xml]Test[/url]");
        assertProcess("<a href=\"./test.xml\">./test.xml</a>", "[url]./test.xml[/url]");
        assertProcess("<a href=\"../test.xml\">Test</a>", "[url=../test.xml]Test[/url]");
        assertProcess("<a href=\"../test.xml\">../test.xml</a>", "[url]../test.xml[/url]");
        assertProcess("<a href=\"http://javascript:alert(&apos;Kefir is stupid!&apos;);\">javascript:alert(&apos;Kefir is stupid!&apos;);</a>", "[url]javascript:alert('Kefir is stupid!');[/url]");
        assertProcess("<span style=\"color:red;\">Red text</span>", "[color=red]Red text[/color]");
        assertProcess("<span style=\"font-size:14px;\">Test</span>", "[size=14px]Test[/size]");
        assertProcess("<blockquote>Quoted text</blockquote>", "[quote]Quoted text[/quote]");
        assertProcess("&laquo;Test&raquo;", "[aquote]Test[/aquote]");
        assertProcess("", "[*Comment*]");
        assertProcess("&copy;", "[symbol=copy/]");
    }
