@Test
public void valueToString() {

    assertEquals("null", JSONObject.valueToString(null));
    assertEquals("42", JSONObject.valueToString(42));
    assertEquals("42.5643", JSONObject.valueToString(42.5643f));
    assertEquals("\"Hello World\"", JSONObject.valueToString("Hello World"));
    assertEquals(ImmaJson.HI_MOM, JSONObject.valueToString(new ImmaJson()));
    assertEquals("{\"bar\":\"me\"}", JSONObject.valueToString(new Foo("me")));
    assertEquals("{}", JSONObject.valueToString(new JSONObject()));
    assertEquals("[]", JSONObject.valueToString(new JSONArray()));
}