@Test
public void shouldGetCollectionType() throws Exception {

	assertEquals(PropertyUtil.getCollectionElementType(DummyClass.class.getField("stringList").getGenericType()), String.class);
	assertEquals(PropertyUtil.getCollectionElementType(DummyClass.class.getField("objectList").getGenericType()), DummyClass.class);
	assertEquals(PropertyUtil.getCollectionElementType(DummyClass.class.getField("anyList").getGenericType()), Object.class);
}