@Bean
    @ConditionalOnMissingBean(ConsulDataChangedListener.class)
    public DataChangedListener consulDataChangedListener(final ConsulClient consulClient) {
        return new ConsulDataChangedListener(consulClient);
    }
@Test
    public void testConsulDataChangedListener() {
        ConsulSyncConfiguration consulListener = new ConsulSyncConfiguration();
        ConsulClient consulClient = mock(ConsulClient.class);
        assertNotNull(consulListener.consulDataChangedListener(consulClient));
    }