@Test
public void test14grantAccess() throws Exception {

	HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
	String serviceName = "HDFS_1";
	GrantRevokeRequest grantRequestObj = new GrantRevokeRequest();
	grantRequestObj.setAccessTypes(null);
	grantRequestObj.setDelegateAdmin(true);
	grantRequestObj.setEnableAudit(true);
	grantRequestObj.setGrantor("read");
	grantRequestObj.setIsRecursive(true);
	Mockito.when(
			serviceUtil.isValidateHttpsAuthentication(serviceName, request))
			.thenReturn(false);
	RESTResponse restResponse = serviceREST.grantAccess(serviceName,
			grantRequestObj, request);
	Assert.assertNotNull(restResponse);
	Mockito.verify(serviceUtil).isValidateHttpsAuthentication(serviceName,
			request);
}