@Override
    public Config build() {
        return build(new Config());
    }
@Override
    @Test
    public void testAllPermissionsCovered() throws IOException {
        URL xmlResource = XMLConfigBuilderTest.class.getClassLoader().getResource("hazelcast-fullconfig.xml");
        Config config = new XmlConfigBuilder(xmlResource).build();
        Set<PermissionType> allPermissionTypes = Set.of(PermissionType.values());
        Set<PermissionType> foundPermissionTypes = config.getSecurityConfig().getClientPermissionConfigs().stream()
                .map(PermissionConfig::getType).collect(Collectors.toSet());
        Collection<PermissionType> difference = Sets.difference(allPermissionTypes, foundPermissionTypes);

        assertTrue(String.format("All permission types should be listed in %s. Not found ones: %s", xmlResource, difference),
                difference.isEmpty());
    }