protected void setUp() throws Exception {
clearProperties();
}
public void testGetParamValue() {
AttributeServletContext servletContext = new AttributeServletContext();
servletContext.setContextPath("/path");
assertNull(WebModuleUtils.getParamValue(servletContext, "name"));
servletContext.setInitParams(Collections.singletonMap("name", "initParamValue"));
assertEquals("initParamValue", WebModuleUtils.getParamValue(servletContext, "name"));
System.setProperty("name", "systemPropertyValue");
assertEquals("systemPropertyValue", WebModuleUtils.getParamValue(servletContext, "name"));