@Test
public void missingAttributeTest() throws Exception {

    // Setup:
    loadPolicy(policy2);
    BalanaRequest.Builder builder = new BalanaRequest.Builder(userX, resource, createAction, OffsetDateTime.now(), VALUE_FACTORY, jaxbContext);
    builder.addActionAttr(Resource.type_IRI, actionType);
    Response result = pdp.evaluate(builder.build());
    assertEquals(Decision.DENY, result.getDecision());
    assertEquals(Status.OK, result.getStatus());
    assertTrue(result.getPolicyIds().contains(policy2));
}