@Test
public void getPropertyTypeMap_returnsCorrectPropertyMap() throws Exception {

    Map<String, Class<?>> map = Introspector.getPropertyTypeMap(TestModel.class);
    assertEquals(4, map.size());
    assertEquals(List.class, map.get("openEngSBModelTail"));
    assertEquals(String.class, map.get("testId"));
    assertEquals(Integer.class, map.get("testInteger"));
    assertEquals(SubTestModel.class, map.get("subModel"));
}