@Test
public void test8getTagDef() {

	RangerTagDef oldTagDef = new RangerTagDef();
	oldTagDef.setId(id);
	oldTagDef.setName(name);
	
	try {
		Mockito.when(tagStore.getTagDef(id)).thenReturn(oldTagDef);
	} catch (Exception e) {
	}
	
	RangerTagDef rangerTagDef = tagREST.getTagDef(id);
	Assert.assertNotNull(rangerTagDef.getId());
	Assert.assertEquals(rangerTagDef.getId(), oldTagDef.getId());
	Assert.assertEquals(rangerTagDef.getName(), oldTagDef.getName());
	
	try {
		Mockito.verify(tagStore).getTagDef(id);
	} catch (Exception e) {
	}
}