{
Converter converter = new AtomicIntegerConverter();
assertEquals("", converter.getAsString(null, null, null));
assertEquals("", converter.getAsString(null, null, ""));
assertEquals(" ", converter.getAsString(null, null, " "));
assertEquals("-1", converter.getAsString(null, null, new AtomicInteger(-1)));
try
{
converter.getAsString(null, null, new Integer(0));
fail("should only take atomic ints");
}