@Test
public void test35getServiceResourcesByService() {

	List<RangerServiceResource> oldSRS = new ArrayList<RangerServiceResource>();
	RangerServiceResource rangerServiceResource = new RangerServiceResource();
	rangerServiceResource.setId(id);
	rangerServiceResource.setServiceName(serviceName);
	oldSRS.add(rangerServiceResource);
	
	try {
		Mockito.when(tagStore.getServiceResourcesByService(serviceName)).thenReturn(oldSRS);
	} catch (Exception e) {
	}
	
	List<RangerServiceResource> result = tagREST.getServiceResourcesByService(serviceName);
	Assert.assertNotNull(result);
	Assert.assertEquals(result.size(), 1);
	Assert.assertEquals(result.get(0).getId(), id);
	Assert.assertEquals(result.get(0).getServiceName(), serviceName);

	try {
		Mockito.verify(tagStore).getServiceResourcesByService(serviceName);
	} catch (Exception e) {
	}
}