### Question:
DockerRegistryServiceImpl implements DockerRegistryService { @Override public DockerImageTags listImageTags(String registry, String imageName) { return DockerImageHubClient.getInstance(registry).listImageTags(imageName); }  @Override DockerCatalogResp catalog(String registry, Integer number); @Override DockerImageTags listImageTags(String registry, String imageName); @Override void deleteTag(String registry, String name, String tag);  }### Answer:
@Test public void listImageTags() { String registry = "http: String imageName = "platform/ops-pms"; dockerRegistryService.listImageTags(registry, imageName) .getTags() .stream() .forEach(tag -> log.info("tag:[{}]", tag)); }