@Test
public void retainVariablesValue(){

    String requestPath = "/s/c500-m60-cred-s-k-s100-o6.htm";
    String matchingPatternPath = "/s/c{categoryCode}-m{material}-c{color}-s{size}-k{kind}-s{style}-o{order}.htm";
    String[] variableNames = { "color", "style" };
    LOGGER.debug(UriTemplateUtil.retainVariablesValue(requestPath, matchingPatternPath, variableNames));
    LOGGER.debug(UriTemplateUtil.retainVariablesValue(requestPath, matchingPatternPath, null));
}