public void testGetTypeClass() throws Exception {
MetaProperty prop = new MetaProperty();
prop.setType(String.class);
assertEquals(String.class, prop.getTypeClass());
assertEquals(String.class, prop.getType());
prop.setType(new DynaTypeEnum(BusinessEnum.class, BusinessEnum.VALUE1.name(),
BusinessEnum.VALUE3.name()));
assertEquals(BusinessEnum.class, prop.getTypeClass());
assertEquals(2, ((DynaTypeEnum)prop.getType()).getEnumConstants().length);
}