@Override
    public void validate(Context context) {
        context.model().getContainerClusters().forEach((id, cluster) -> {
            Http http = cluster.getHttp();
            if (http != null) {
                if (http.getAccessControl().isPresent()) {
                    verifyAccessControlFilterPresent(context, http);
                }
            }
        });
    }
@Test
    void validator_fails_with_empty_access_control_filter_chain() throws IOException, SAXException {
        DeployState deployState = createDeployState();
        VespaModel model = new VespaModel(new NullConfigModelRegistry(), deployState);

        try {
            ValidationTester.validate(new AccessControlFilterValidator(), model, deployState);
            fail();
        } catch (IllegalArgumentException e) {
            assertEquals("The 'access-control' feature is not available in open-source Vespa.", e.getMessage());
        }
    }