@Test
public void test56getServicePoliciesIfUpdated() throws Exception {

	HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
	ServicePolicies servicePolicies = servicePolicies();
	String serviceName = "HDFS_1";
	Long lastKnownVersion = 1L;
	String pluginId = "1";
	Mockito.when(serviceUtil.isValidateHttpsAuthentication(serviceName, request)).thenReturn(true);
	Mockito.when(svcStore.getServicePoliciesIfUpdated(Mockito.anyString(), Mockito.anyLong(), Mockito.anyBoolean())).thenReturn(servicePolicies);
	Mockito.when(zoneStore.getSecurityZonesForService(serviceName)).thenReturn(null);
	ServicePolicies dbServicePolicies = serviceREST.getServicePoliciesIfUpdated(serviceName, lastKnownVersion, 0L,
			pluginId, "", "", true, capabilityVector, request);
	Assert.assertNotNull(dbServicePolicies);
}