realContext.setAttribute("application__module_mymodule:mykey", "value1");
realContext.setAttribute("mykey", "value2");
realContext.setAttribute("application__module_mymodule:anotherkey", "value3");
realContext.setAttribute("anotherkey", "value2");
wrapperContext = new PartitionedServletContext(realContext, "", "mymodule", new DefaultWebAttributeQualifier(), ClassUtils.getDefaultClassLoader());
Enumeration<String> attributeNames = wrapperContext.getAttributeNames();
ArrayList<String> list = Collections.list(attributeNames);
assertEquals(CollectionStringUtils.parseStringList("application__module_mymodule:mykey,application__module_mymodule:anotherkey"), list);
}