public void testConvert() throws Exception {
Converter c = new UppercaseConverter(new HashMap<String, Object>());
assertNull(c.convert(null));
assertEquals("", c.convert(""));
assertEquals("FOOBAR", c.convert("foobar"));
assertEquals("FOO BAR", c.convert("foo BAR"));
assertEquals("FOOBAR", c.convert("FooBar"));
assertEquals("FOOBAR ", c.convert("foobar "));
assertEquals(" FOOBAR", c.convert(" foobar"));
assertEquals("FOOBAR", c.convert("FOOBAR"));