@Override
    public void doPublishConfig(final String dataId, final Object data) {
        this.apolloClient.createOrUpdateItem(dataId, data, "create config data");
        this.apolloClient.publishNamespace("publish config data", "");
    }
@Test
    public void testPublishConfig() {
        doNothing().when(apolloClient)
                .createOrUpdateItem(Mockito.any(), Mockito.<Object>any(), Mockito.any());
        doNothing().when(apolloClient).publishNamespace(Mockito.any(), Mockito.any());
        apolloDataChangedListener.doPublishConfig("42", "Data");
        verify(apolloClient).createOrUpdateItem(Mockito.any(), Mockito.<Object>any(), Mockito.any());
        verify(apolloClient).publishNamespace(Mockito.any(), Mockito.any());
    }