@Test
public void failsCreateCollectionOfRawType() throws Exception {

    ArrayValue jsonArray = createJsonArray("to", "be", "or", "not", "to", "be");
    thrown.expect(JsonException.class);
    ObjectBuilder.createCollection(List.class, List.class, jsonArray);
}