@Test
public void testGetLatestCloneName() {

    List<Topology> topologies = new ArrayList<>();
    topologies.add(createTopology("foo"));
    topologies.add(createTopology("foo-clone"));
    topologies.add(createTopology("foo-clone2"));
    topologies.add(createTopology("foo-clone9"));
    topologies.add(createTopology("foo-clone10"));
    topologies.add(createTopology("bar"));
    assertEquals("foo-clone10", streamCatalogService.getLatestCloneName("foo", topologies).get());
}