@Test
public void test15revokeAccess() throws Exception {

	HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
	String serviceName = "HDFS_1";
	Set<String> userList = new HashSet<String>();
	userList.add("user1");
	userList.add("user2");
	userList.add("user3");
	Set<String> groupList = new HashSet<String>();
	groupList.add("group1");
	groupList.add("group2");
	groupList.add("group3");
	GrantRevokeRequest revokeRequest = new GrantRevokeRequest();
	revokeRequest.setDelegateAdmin(true);
	revokeRequest.setEnableAudit(true);
	revokeRequest.setGrantor("read");
	revokeRequest.setGroups(groupList);
	revokeRequest.setUsers(userList);
	RESTResponse restResponse = serviceREST.revokeAccess(serviceName,
			revokeRequest, request);
	Assert.assertNotNull(restResponse);
}