initializer.initialize();
initializer.setLoggerContext();
LoggerContext ctx = ContextAnchor.THREAD_CONTEXT.get();
assertNotNull("No LoggerContext", ctx);
assertNotNull("No ServletContext", ctx.getExternalContext());
Configuration config = ctx.getConfiguration();
assertNotNull("No Configuration", config);
StrSubstitutor substitutor = config.getStrSubstitutor();
assertNotNull("No Interpolator", substitutor);
String value = substitutor.replace("${web:initParam.TestParam}");
assertNotNull("No value for TestParam", value);
assertTrue("Incorrect value for TestParam: " + value, "ParamValue".equals(value));
value = substitutor.replace("${web:attr.TestAttr}");