### Question:
AssetsFolderPropertiesSupport extends SlingSafeMethodsServlet implements Filter, SlingPostProcessor { @Override protected final void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response) throws ServletException, IOException { final Resource suffixResource = request.getResourceResolver().resolve(request.getRequestPathInfo().getSuffix()); if (suffixResource == null) { return; } log.trace("AssetsFolderPropertiesSupport GET method for folder resource [ {} ]", suffixResource.getPath()); ValueMap formProperties = (ValueMap) request.getAttribute(GRANITE_UI_FORM_VALUES); if (formProperties == null) { formProperties = new ValueMapDecorator(new HashMap<String, Object>()); } request.setAttribute(GRANITE_UI_FORM_VALUES, new CompositeValueMap(formProperties, suffixResource.getValueMap(), true)); }  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 doGet() throws Exception { final ValueMap graniteUiFormValues = new ValueMapDecorator(new HashMap<>()); graniteUiFormValues.put("ootb", "ootb value"); slingContext.create().resource("/content/dam/do-get/folder", ImmutableMap.<String, Object>builder().put("resource", "resource value").build()); MockSlingHttpServletRequest request = new MockSlingHttpServletRequest(slingContext.resourceResolver(), osgiContext.bundleContext()); MockRequestPathInfo requestPathInfo = (MockRequestPathInfo)request.getRequestPathInfo(); requestPathInfo.setResourcePath("wizard.html"); requestPathInfo.setSuffix("/content/dam/do-get/folder"); request.setAttribute("granite.ui.form.values", graniteUiFormValues); assetsFolderPropertiesSupport.doGet(request, response); ValueMap actual = (ValueMap) request.getAttribute("granite.ui.form.values"); assertEquals("ootb value", actual.get("ootb", String.class)); assertEquals("resource value", actual.get("resource", String.class)); }