@Test
public void createPolicyMissingIdTest() {

    Response response = target().path("policies").request().post(Entity.json("{}"));
    assertEquals(response.getStatus(), 400);
    verify(policyManager, times(0)).createPolicy(any(PolicyType.class));
    verify(policyManager, times(0)).addPolicy(any(XACMLPolicy.class));
}