### Question:
ProfileAttributesResolverImpl implements ProfileAttributesResolver { protected String quoteMatcherReplacement(String attrValue) { return Matcher.quoteReplacement(attrValue); } ProfileAttributesResolverImpl(); @PostConstruct void init(); static boolean isSkipProfileAttributesResolving(AttributedObject resource); @Override boolean containsAttribute(String str); @Override boolean isParametrizedResource(Object resource, ProfileAttributeCategory... categories); @Override @SuppressWarnings("unchecked") T mergeResource(T resource); T mergeObject(T object, String identifier); String merge(String templateString, String identifier); String merge(String templateString, String identifier, ProfileAttributeEscapeStrategy escapeStrategy); void setAttributePlaceholderPatterns(List<String> attributePlaceholderPatterns); void setProfileAttributeService(ProfileAttributeService profileAttributeService); void setMessageSource(MessageSource messageSource); void setProfileAttributeCategories(List<ProfileAttributeCategory> profileAttributeCategories); void setExcludedResourcesFromAttrResolving(Set<String> excludedResourcesFromAttrResolving); void setEnabledResolving(boolean enabledResolving); void setParametrizedResourcePatterns(List<String> parametrizedResourcePatterns); void setValidator(Validator validator); static final String attributeNameGroup; static final String categoryGroup; static final String groupExpression; static final String PROFILE_ATTRIBUTE_EXCEPTION_SUBSTITUTION_BASE; static final String IN_RESOURCE_SUFFIX; }### Answer:
@Test public void quoteMatcherReplacement_success() { String quoteValue = profileAttributesResolverImpl.quoteMatcherReplacement("spec_@_#_$_%_^_&_*_(_)_-_=_+_:_;_._\"_\\_/_?_<_>_~_[_]_{_}_`_'_ !"); assertEquals("spec_@_#_\\$_%_^_&_*_(_)_-_=_+_:_;_._\"_\\\\_/_?_<_>_~_[_]_{_}_`_'_ !", quoteValue); }