@Test
public void test15populateXXToRangerContextEnricherDef() {

	XXContextEnricherDef contextEnricherDefObj = new XXContextEnricherDef();
	contextEnricherDefObj.setAddedByUserId(Id);
	contextEnricherDefObj.setCreateTime(new Date());
	contextEnricherDefObj.setDefid(Id);
	contextEnricherDefObj.setId(Id);
	contextEnricherDefObj.setName("country-provider");
	contextEnricherDefObj
			.setEnricherOptions("contextName=COUNTRY;dataFile=/etc/ranger/data/userCountry.properties");
	contextEnricherDefObj.setEnricher("RangerCountryProvider");
	contextEnricherDefObj.setOrder(null);
	contextEnricherDefObj.setUpdatedByUserId(Id);
	contextEnricherDefObj.setUpdateTime(new Date());
	RangerContextEnricherDef dbRangerContextEnricherDef = rangerServiceDefService
			.populateXXToRangerContextEnricherDef(contextEnricherDefObj);
	Assert.assertNotNull(dbRangerContextEnricherDef);
	Assert.assertEquals(dbRangerContextEnricherDef.getEnricher(),
			contextEnricherDefObj.getEnricher());
	Assert.assertEquals(dbRangerContextEnricherDef.getName(),
			contextEnricherDefObj.getName());
}