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