@Test
public void createsListOfListOfStrings() throws Exception {

    ArrayValue jsonArray = new ArrayValue();
    jsonArray.addElement(createJsonArray("to", "be", "or"));
    jsonArray.addElement(createJsonArray("not", "to", "be"));
    List listOfList = ObjectBuilder.createCollection(List.class,
                                                     newParameterizedType(List.class, newParameterizedType(List.class, String.class)),
                                                     jsonArray);
    assertEquals(newArrayList(newArrayList("to", "be", "or"), newArrayList("not", "to", "be")), listOfList);
}