### Question:
CuratorZookeeperClient implements InitializingBean { @Override public void afterPropertiesSet() throws Exception { this.zkClient = buildClient(); initStateLister(); }  @Override void afterPropertiesSet(); void initStateLister(); ZookeeperConfig getZookeeperConfig(); void setZookeeperConfig(ZookeeperConfig zookeeperConfig); CuratorFramework getZkClient();  }### Answer:
@Test public void testAfterPropertiesSet() throws Exception { TimeUnit.SECONDS.sleep(10); CuratorZookeeperClient zookeeperClient = new CuratorZookeeperClient(); ZookeeperConfig zookeeperConfig = new ZookeeperConfig(); zookeeperConfig.setServerList("127.0.0.1:2185"); zookeeperConfig.setBaseSleepTimeMs(100); zookeeperConfig.setMaxSleepMs(30000); zookeeperConfig.setMaxRetries(10); zookeeperConfig.setSessionTimeoutMs(60000); zookeeperConfig.setConnectionTimeoutMs(30000); zookeeperConfig.setDigest(" "); zookeeperConfig.setDsRoot("/dolphinscheduler"); zookeeperConfig.setMaxWaitTime(30000); zookeeperClient.setZookeeperConfig(zookeeperConfig); System.out.println("start"); zookeeperClient.afterPropertiesSet(); System.out.println("end"); Assert.assertNotNull(zookeeperClient.getZkClient()); }