@Test
public void testReplaceWildcardConfigs(TestContext context){

    String contentWithWildcards = "This is a very ${adjective} helper method";
    Map<String, Object> properties = ImmutableMap.of("adjective", "nice");
    context.assertEquals("This is a very nice helper method", StringUtils.replaceWildcardConfigs(contentWithWildcards, properties));
    context.assertEquals("This is a very ${adjective} helper method", StringUtils.replaceWildcardConfigs(contentWithWildcards, null));
    context.assertNull(null, StringUtils.replaceWildcardConfigs(contentWithWildcards, properties));
    context.assertNull(null, StringUtils.replaceWildcardConfigs(contentWithWildcards, null));
    contentWithWildcards = "This is text does not contain any wildcard";
    context.assertEquals("This is text does not contain any wildcard", StringUtils.replaceWildcardConfigs(contentWithWildcards, properties));
    context.assertEquals("This is text does not contain any wildcard", StringUtils.replaceWildcardConfigs(contentWithWildcards, new HashMap<>()));
}