@Test
public void test61deleteServiceResourceByGuid() {

	RangerServiceResource oldRSR = new RangerServiceResource();
	oldRSR.setId(id);
	oldRSR.setGuid(gId);
	List<RangerTagResourceMap> tagResourceMaps = new ArrayList<RangerTagResourceMap>();
	
	try {
		Mockito.when(validator.preDeleteServiceResourceByGuid(gId, true)).thenReturn(oldRSR);
	} catch (Exception e) {
	}
	try {
		Mockito.when(tagStore.getTagResourceMapsForResourceGuid(oldRSR.getGuid())).thenReturn(tagResourceMaps);
	} catch (Exception e) {
	}
	tagREST.deleteServiceResourceByGuid(gId, true);
	
	try {
		Mockito.verify(validator).preDeleteServiceResourceByGuid(gId, true);
	} catch (Exception e) {
	}
	try {
		Mockito.verify(tagStore).getTagResourceMapsForResourceGuid(oldRSR.getGuid());
	} catch (Exception e) {
	}
}