@Test
public void createsArrayListOfStrings() throws Exception {

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