### Question:
ZKLogMetadataStore implements LogMetadataStore { @Override public CompletableFuture<Optional<URI>> getLogLocation(String logName) { return FutureUtils.value(nsOptional); } ZKLogMetadataStore(
            DistributedLogConfiguration conf,
            URI namespace,
            ZooKeeperClient zkc,
            OrderedScheduler scheduler); @Override CompletableFuture<URI> createLog(String logName); @Override CompletableFuture<Optional<URI>> getLogLocation(String logName); @Override CompletableFuture<Iterator<String>> getLogs(String logNamePrefix); @Override void registerNamespaceListener(NamespaceListener listener);  }### Answer:
@Test(timeout = 60000) public void testGetLogLocation() throws Exception { Optional<URI> uriOptional = Utils.ioResult(metadataStore.getLogLocation("test")); assertTrue(uriOptional.isPresent()); assertEquals(uri, uriOptional.get()); }