public final AccessControlEntry entry() {
        return entry;
    }
@Test
    public void shouldThrowOnAnyResourceType() {
        assertThrows(IllegalArgumentException.class,
            () -> new AclBinding(new ResourcePattern(ResourceType.ANY, "foo", PatternType.LITERAL), ACL1.entry()));
    }