### Question:
AtlasZookeeperURLManager extends DefaultURLManager { public List<String> lookupURLs() { List<String> serverHosts = new ArrayList<>(); try (CuratorFramework zooKeeperClient = CuratorFrameworkFactory.builder() .connectString(zooKeeperEnsemble) .retryPolicy(new ExponentialBackoffRetry(1000, 3)) .build()) { zooKeeperClient.start(); zooKeeperClient.blockUntilConnected(10, TimeUnit.SECONDS); byte[] bytes = zooKeeperClient.getData().forPath(zooKeeperNamespace + APACHE_ATLAS_ACTIVE_SERVER_INFO); String activeURL = new String(bytes, StandardCharsets.UTF_8); serverHosts.add(activeURL); } catch (Exception e) { LOG.failedToGetZookeeperUrls(e); throw new RuntimeException(e); } return serverHosts; }  @Override boolean supportsConfig(HaServiceConfig config); @Override void setConfig(HaServiceConfig config); List<String> lookupURLs(); @Override synchronized void markFailed(String url);  }### Answer:
@Test public void testAtlasActiveUrlIsSetCorrectlyAfterLookUpFromZK() { manager.lookupURLs(); List<String> urls = manager.getURLs(); assertEquals(atlasNode1, urls.get(0)); }