### Question:
BootstrapEnvironment { public ZookeeperConfiguration getZookeeperConfiguration() { ZookeeperConfiguration result = new ZookeeperConfiguration(getValue(EnvironmentArgument.ZOOKEEPER_SERVERS), getValue(EnvironmentArgument.ZOOKEEPER_NAMESPACE)); String digest = getValue(EnvironmentArgument.ZOOKEEPER_DIGEST); if (!Strings.isNullOrEmpty(digest)) { result.setDigest(digest); } return result; } private  BootstrapEnvironment(); String getFrameworkHostPort(); MesosConfiguration getMesosConfiguration(); ZookeeperConfiguration getZookeeperConfiguration(); RestfulServerConfiguration getRestfulServerConfiguration(); FrameworkConfiguration getFrameworkConfiguration(); Optional<JobEventRdbConfiguration> getJobEventRdbConfiguration(); HashMap<String, String> getJobEventRdbConfigurationMap(); Optional<String> getMesosRole();  }### Answer:
@Test public void assertGetZookeeperConfiguration() throws NoSuchFieldException { Properties properties = new Properties(); properties.setProperty(BootstrapEnvironment.EnvironmentArgument.ZOOKEEPER_DIGEST.getKey(), "test"); ReflectionUtils.setFieldValue(bootstrapEnvironment, "properties", properties); ZookeeperConfiguration zkConfig = bootstrapEnvironment.getZookeeperConfiguration(); Assert.assertThat(zkConfig.getServerLists(), Is.is("localhost:2181")); Assert.assertThat(zkConfig.getNamespace(), Is.is("elastic-job-cloud")); Assert.assertThat(zkConfig.getDigest(), Is.is("test")); }