@Test
public void test14getAllTagDefs() {

	List<RangerTagDef> ret = new ArrayList<RangerTagDef>();
	RangerTagDef rangerTagDef = new RangerTagDef();
	rangerTagDef.setId(id);
	rangerTagDef.setVersion(5L);
	ret.add(rangerTagDef);
	
	try {
		Mockito.when(tagStore.getTagDefs((SearchFilter)Mockito.any())).thenReturn(ret);
	} catch (Exception e) {
	}
	List<RangerTagDef> result = tagREST.getAllTagDefs();
	
	Assert.assertNotNull(result);
	Assert.assertEquals(result.get(0).getId(), ret.get(0).getId());
	Assert.assertEquals(result.get(0).getVersion(), ret.get(0).getVersion());
	
	try {
		Mockito.verify(tagStore).getTagDefs((SearchFilter)Mockito.any());
	} catch (Exception e) {
	}
}