public void noCharset() {
service = (URIBrokerServiceImpl) factory.getBean("noDefaultCharset");
URIBroker link1 = service.getURIBroker("a");
assertEquals(null, link1.getCharset());
assertEquals("http://localhost/?name=%E4%B8%AD%E5%9B%BD", link1.addQueryData("name", "中国").render()); // from context
URIBroker link2 = service.getURIBroker("b");
assertEquals("GBK", link2.getCharset());
assertEquals("http://localhost/?name=%D6%D0%B9%FA", link2.addQueryData("name", "中国").render());
}