@Test
public void testReadJsonValueFromValue() throws Exception {

    assertSame("null value is JsonValue.NULL", JsonValue.NULL,
            converter().readJsonValueFromValue("key", null));
    assertSame("same json null value", JsonValue.NULL,
            converter().readJsonValueFromValue("key", JsonValue.NULL));
    assertSame("same json empty object", JsonValue.EMPTY_JSON_OBJECT,
            converter().readJsonValueFromValue("key", JsonValue.EMPTY_JSON_OBJECT));
    assertSame("same json empty array", JsonValue.EMPTY_JSON_ARRAY,
            converter().readJsonValueFromValue("key", JsonValue.EMPTY_JSON_ARRAY));
    assertEquals("\"some string\" is readable", JavaxJson.wrap("some string"),
            converter().readJsonValueFromValue("key", "\"some string\""));
}