@Test
public void testReadJsonArrayFromValue() throws Exception {

    final JsonArray expectSameArray = arr("one", "two", "three").get();
    assertSame("same json array", expectSameArray, converter().readJsonArrayFromValue("key", expectSameArray));
    assertSame("null value is JsonValue.NULL", JsonValue.NULL,
            converter().readJsonArrayFromValue("key", null));
    assertEquals("json array as string is equal", expectSameArray,
            converter().readJsonArrayFromValue("key", expectSameArray.toString()));
}