@Test
public void test31deleteServiceResource() {

	RangerServiceResource oldSRS = new RangerServiceResource();
	oldSRS.setId(id);
	
	try {
		Mockito.when(validator.preDeleteServiceResource(id)).thenReturn(oldSRS);
	} catch (Exception e) {
	}
	try {
		Mockito.doNothing().when(tagStore).deleteServiceResource(id);
	} catch (Exception e) {
	}
	
	tagREST.deleteServiceResource(id);
	Assert.assertNotNull(oldSRS.getId());
	
	try {
		Mockito.verify(validator).preDeleteServiceResource(id);
	} catch (Exception e) {
	}
	try {
		Mockito.verify(tagStore).deleteServiceResource(id);
	} catch (Exception e) {
	}
}