@Test
void shouldGetConstraintsFromPredicates() {

    List<Predicate> predicates = opaCompilerResponse.getResult().getQueries().get(0);
    String result = target.andOperationConstraints(predicates);
    assertThat(result, is("(pets.owner = 'alice' AND pets.name = 'fluffy')"));
}