assertEquals("/WEB-INF/search.jsp", response.getIncludedUrls().get(0));
assertEquals("/WEB-INF/searchNavigation.jsp", response.getIncludedUrls().get(1));
}
public void testFlattenAttributeMap() throws Exception {
ApplicationContext tilesAppContext = new WildcardServletApplicationContext(servletContext);
Request tilesRequest = new ServletRequest(tilesAppContext, request, response);
BasicTilesContainer container = (BasicTilesContainer) TilesAccess.getContainer(tilesAppContext);
Definition compositeDefinition = container.getDefinitionsFactory().getDefinition("search", tilesRequest);
Map<String, Attribute> resultMap = new HashMap<String, Attribute>();
ajaxTilesView.flattenAttributeMap(container, tilesRequest, resultMap, compositeDefinition);