public void testSimpleScalars() throws Exception
{
ObjectMapper m = new ObjectMapper();
assertEquals("callback(\"abc\")",
serializeAsString(m, new JSONPObject("callback", "abc")));
assertEquals("calc(123)",
serializeAsString(m, new JSONPObject("calc", Integer.valueOf(123))));
assertEquals("dummy(null)",
serializeAsString(m, new JSONPObject("dummy", null)));
}