@Test
public void testNewInstance_notExpectedAces() throws Exception {

    final String principal = "nouser";
    final String spec = "type=allow;path=/foo1;privileges=jcr:read";
    final List<ExpectAces.AceCriteria> expectCriterias = Collections.singletonList(
            ExpectAces.AceCriteria.parse(principal, spec).getOrDefault(null)
    );
    ExpectAces.Check check1 = checkFor(key("principal", principal)
            .key(ExpectAces.keys().notExpectedAces(), arr(spec)).get());
    Assert.assertEquals("expect notExpectedAces", expectCriterias, check1.notExpectedAces);
}