docs: public static String build(String messageSelector, Map<String, Object> messageSelectorMap, TestContext context) {
          if (StringUtils.hasText(messageSelector)) {
              return context.replaceDynamicContentInString(messageSelector);
          } else if (!CollectionUtils.isEmpty(messageSelectorMap)) {
              return MessageSelectorBuilder.fromKeyValueMap(
                      context.resolveDynamicValuesInMap(messageSelectorMap)).build();
          }
  
          return "";
      }