Sure,junits aemContext.request().setAttribute("productModelPage", "/content/Page");here is my model code:productModelPage is a variable if(StringUtils.isNotBlank(productModelPage)){ PageManager pageManager = resourceResolver.adaptTo(PageManager.class); Page productPage = pageManager.getPage(prod...