@Test
public void createsListOfStrings() throws Exception {

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