### Question:
AssetsFolderPropertiesSupport extends SlingSafeMethodsServlet implements Filter, SlingPostProcessor { public void process(SlingHttpServletRequest request, List<Modification> changes) throws Exception { if (AssetsFolderPropertiesSupportRequest.isMarked(request)) { log.trace("Sending the the wrapped dam.folder.share request to the AEM Assets dam.folder.share PostOperation for final processing"); final AssetsFolderPropertiesSupportRequest wrappedRequest = new AssetsFolderPropertiesSupportRequest(request, DAM_FOLDER_SHARE_OPERATION); folderShareHandler.run(wrappedRequest, new DummyPostResponse(), new SlingPostProcessor[]{}); log.trace("Processed the the wrapped dam.folder.share request with the AEM Assets dam.folder.share PostOperation"); } }  void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain chain); void init(FilterConfig filterConfig); void destroy(); void process(SlingHttpServletRequest request, List<Modification> changes);  }### Answer:
@Test public void process() throws Exception { assetsFolderPropertiesSupport.process(new AssetsFolderPropertiesSupport.AssetsFolderPropertiesSupportRequest(request, null), new ArrayList<>()); verify(postOperation, times(1)).run(any(AssetsFolderPropertiesSupport.AssetsFolderPropertiesSupportRequest.class), any(PostResponse.class), any(SlingPostProcessor[].class)); }
@Test public void process_skips() throws Exception { assetsFolderPropertiesSupport.process(request, new ArrayList<>()); verify(postOperation, never()).run(eq(request), any(PostResponse.class), any(SlingPostProcessor[].class)); }