@Test
public void createsListOfObjects() throws Exception {

    ArrayValue jsonArray = createJsonArray(createJsonBook(createJunitBook()),
                                           createJsonBook(createCSharpBook())
                                          );
    List list = ObjectBuilder.createCollection(List.class, newParameterizedType(List.class, Book.class), jsonArray);
    assertEquals(newArrayList(createJunitBook(), createCSharpBook()), list);
}