@Test
public void test55getServicePoliciesIfUpdatedCatch() throws Exception {

	HttpServletRequest request = Mockito.mock(HttpServletRequest.class);
	String serviceName = "HDFS_1";
	Long lastKnownVersion = 1L;
	String pluginId = "1";
	Mockito.when(serviceUtil.isValidateHttpsAuthentication(serviceName, request)).thenReturn(true);
	Mockito.when(restErrorUtil.createRESTException(Mockito.anyInt(), Mockito.anyString(), Mockito.anyBoolean()))
			.thenThrow(new WebApplicationException());
	thrown.expect(WebApplicationException.class);
	serviceREST.getServicePoliciesIfUpdated(serviceName, lastKnownVersion, 0L, pluginId, "", "", false, capabilityVector, request);
}