@Test
public void test45getTagResourceMapByGuid() {

	RangerTagResourceMap oldTagResourceMap = new RangerTagResourceMap();
	oldTagResourceMap.setId(id);
	oldTagResourceMap.setGuid(gId);
	
	try {
		Mockito.when(tagStore.getTagResourceMapByGuid(gId)).thenReturn(oldTagResourceMap);
	} catch (Exception e) {
	}
	
	RangerTagResourceMap rangerTagResourceMap = tagREST.getTagResourceMapByGuid(gId);
	Assert.assertNotNull(rangerTagResourceMap.getId());
	Assert.assertEquals(rangerTagResourceMap.getId(), oldTagResourceMap.getId());
	Assert.assertEquals(rangerTagResourceMap.getGuid(), oldTagResourceMap.getGuid());
	try {
		Mockito.verify(tagStore).getTagResourceMapByGuid(gId);
	} catch (Exception e) {
	}
}