@Test
public void shouldGetCollectionTypeForMap() throws Exception {

	assertEquals(PropertyUtil.getCollectionElementType(DummyClass.class.getField("stringMap").getGenericType()), String.class);
	assertEquals(PropertyUtil.getCollectionElementType(DummyClass.class.getField("genericType").getGenericType()), Object.class);
}