JsonDefaultHandler handler = new JsonDefaultHandler();
jsonParser.parse(new InputStreamReader(Thread.currentThread().getContextClassLoader().getResourceAsStream(
"CollectionTest.txt")), handler);
JsonValue jsonValue = handler.getJsonObject();
JavaCollectionBean o = ObjectBuilder.createObject(JavaCollectionBean.class, jsonValue);
assertEquals(3, o.getLinkedList().size());
assertTrue(o.getLinkedList().get(0).equals(sourceCollection.get(0)));
assertTrue(o.getLinkedList().get(1).equals(sourceCollection.get(1)));
assertTrue(o.getLinkedList().get(2).equals(sourceCollection.get(2)));
}