### Question:
Admin implements KeywordExecutable { static String getTServersZkPath(ClientContext context) { requireNonNull(context); return context.getZooKeeperRoot() + Constants.ZTSERVERS; }  static void main(String[] args); @Override String keyword(); @Override UsageGroup usageGroup(); @Override String description(); @SuppressFBWarnings(value = "DM_EXIT", justification = "System.exit okay for CLI tool") @Override void execute(final String[] args); @SuppressFBWarnings(value = "PATH_TRAVERSAL_IN", justification = "code runs in same security context as user who provided input") void printConfig(ClientContext context, DumpConfigCommand opts);  }### Answer:
@Test public void testZooKeeperTserverPath() { ClientContext context = EasyMock.createMock(ClientContext.class); String instanceId = UUID.randomUUID().toString(); EasyMock.expect(context.getZooKeeperRoot()).andReturn(Constants.ZROOT + "/" + instanceId); EasyMock.replay(context); assertEquals(Constants.ZROOT + "/" + instanceId + Constants.ZTSERVERS, Admin.getTServersZkPath(context)); EasyMock.verify(context); }