@Test
public void test12populateXXToRangerPolicyConditionDef() {

	XXPolicyConditionDef policyConditionDefObj = new XXPolicyConditionDef();
	policyConditionDefObj.setAddedByUserId(Id);
	policyConditionDefObj.setCreateTime(new Date());
	policyConditionDefObj.setDefid(Id);
	policyConditionDefObj.setDescription("policy");
	policyConditionDefObj.setId(Id);
	policyConditionDefObj.setName("country");
	policyConditionDefObj.setOrder(0);
	policyConditionDefObj.setUpdatedByUserId(Id);
	policyConditionDefObj.setUpdateTime(new Date());
	RangerPolicyConditionDef dbRangerPolicyConditionDef = rangerServiceDefService
			.populateXXToRangerPolicyConditionDef(policyConditionDefObj);
	Assert.assertNotNull(dbRangerPolicyConditionDef);
	Assert.assertEquals(dbRangerPolicyConditionDef.getName(),
			policyConditionDefObj.getName());
	Assert.assertEquals(dbRangerPolicyConditionDef.getDescription(),
			policyConditionDefObj.getDescription());
	Assert.assertEquals(dbRangerPolicyConditionDef.getEvaluator(),
			policyConditionDefObj.getEvaluator());
	Assert.assertEquals(dbRangerPolicyConditionDef.getLabel(),
			policyConditionDefObj.getLabel());
}