@Test
public void test24getTagByGuid() {

	RangerTag oldTag = new RangerTag();
	oldTag.setId(id);
	oldTag.setGuid(gId);
	
	try {
		Mockito.when(tagStore.getTagByGuid(gId)).thenReturn(oldTag);
	} catch (Exception e) {
	}
	RangerTag rangerTag = tagREST.getTagByGuid(gId);
	Assert.assertNotNull(oldTag.getGuid());
	Assert.assertEquals(rangerTag.getGuid(), oldTag.getGuid());
	Assert.assertEquals(rangerTag.getId(), oldTag.getId());
	Assert.assertNotNull(rangerTag.getId());
	
	try {
		Mockito.verify(tagStore).getTagByGuid(gId);
	} catch (Exception e) {
	}
}