@Test
public void createsMultiDimensionArrayOfStrings() throws Exception {

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