@Test
public void createsArrayOfStrings() throws Exception {

    ArrayValue jsonArray = createJsonArray("to", "be", "or", "not", "to", "be");
    Object array = ObjectBuilder.createArray(String[].class, jsonArray);
    assertArrayEquals(new String[]{"to", "be", "or", "not", "to", "be"}, (Object[])array);
}