@Override
    public void receiveConfigInfo(String configInfo) {
        if (StringUtils.isEmpty(configInfo)) {
            return;
        }
        
        Properties properties = new Properties();
        try {
            properties.load(new StringReader(configInfo));
            innerReceive(properties);
        } catch (IOException e) {
            LOGGER.error("load properties error：" + configInfo, e);
        }
        
    }
@Test
    void testReceiveConfigInfo() {
        final Deque<Properties> q2 = new ArrayDeque<Properties>();
        PropertiesListener a = new PropertiesListener() {
            @Override
            public void innerReceive(Properties properties) {
                q2.offer(properties);
            }
        };
        a.receiveConfigInfo("foo=bar");
        final Properties actual = q2.poll();
        assertEquals(1, actual.size());
        assertEquals("bar", actual.getProperty("foo"));
        
    }