@Test
public void test33getServiceResourceByGuid() {

	RangerServiceResource oldSRS = new RangerServiceResource();
	oldSRS.setId(id);
	oldSRS.setGuid(gId);
	
	try {
		Mockito.when(tagStore.getServiceResourceByGuid(gId)).thenReturn(oldSRS);
	} catch (Exception e) {
	}
	RangerServiceResource rangerServiceResource = tagREST.getServiceResourceByGuid(gId);
	
	Assert.assertNotNull(rangerServiceResource);
	Assert.assertEquals(rangerServiceResource.getGuid(), oldSRS.getGuid());
	Assert.assertEquals(rangerServiceResource.getId(), oldSRS.getId());
	try {
		Mockito.verify(tagStore).getServiceResourceByGuid(gId);
	} catch (Exception e) {
	}
}