SuffixedCatalogMapper implements CatalogMapper { protected static String withSuffix(String s, String suffix) { return String.format("%s%s", s, suffix); } SuffixedCatalogMapper(String serviceOfferingSuffix); @Override Catalog toCatalog(Catalog catalog);  }
@Test public void withSuffix() throws Exception { Assert.assertEquals("plan-one-id-suffix", SuffixedCatalogMapper.withSuffix("plan-one-id", "-suffix")); }