### Question:
PropertyMergePostProcessor implements SlingPostProcessor { protected static String alignDestinationPath(String source, String destination) { if (source.contains(JcrConstants.JCR_CONTENT)) { return StringUtils.substringBeforeLast(source, JcrConstants.JCR_CONTENT) + destination; } else { return destination; } }  @Override final void process(final SlingHttpServletRequest request,
            final List<Modification> modifications);  }### Answer:
@Test public void testPropertyPathAlignment() { Assert.assertEquals("./asset-share-commons/en/public/pictures/stacey-rozells-288200.jpg/jcr:content/metadata/dam:tags-merged", PropertyMergePostProcessor.alignDestinationPath( "./asset-share-commons/en/public/pictures/stacey-rozells-288200.jpg/jcr:content/metadata/dam:tag1", "jcr:content/metadata/dam:tags-merged")); Assert.assertEquals("jcr:content/metadata/dam:tags-merged", PropertyMergePostProcessor.alignDestinationPath( "jcr:content/metadata/dam:tag1", "jcr:content/metadata/dam:tags-merged")); Assert.assertEquals("PathB", PropertyMergePostProcessor.alignDestinationPath( "PathA", "PathB")); }