use of diboot.core.test.binder.entity.CcCityInfo in project diboot by dibo-software.
the class TestFieldBinder method testCity.
@Test
public void testCity() {
CcCityInfo ccCityInfo = new CcCityInfo();
ccCityInfo.setRegionId(10020L).setParentId(10010L);
CcCityInfoVO ccCityInfoVO = Binder.convertAndBindRelations(ccCityInfo, CcCityInfoVO.class);
System.out.println(ccCityInfoVO.getProvenceName());
Assert.assertTrue(ccCityInfoVO.getProvenceName() != null);
}
Aggregations