@Override
    public Properties processor(String config) throws IOException {
        Properties properties = new Properties();

        try (Reader reader = new InputStreamReader(new ByteArrayInputStream(config.getBytes()), StandardCharsets.UTF_8)) {
            properties.load(reader);
        }
        return properties;
    }
@Test
    void processor() throws IOException {
        String properties = "registry.type=file\n" +
                "registry.file.name=file-test-pro.conf";
        
        Properties processor = new ProcessorProperties().processor(properties);
        Assertions.assertEquals("file", processor.get("registry.type"));
        // not exist
        Assertions.assertNull(processor.get("registry"));
        Assertions.assertNull(processor.get("null"));
    }