@Test
public void xmlEncoderRawRenderer() throws Exception {
Renderer<String> rawRenderer = new RawNoopRenderer();
Engine engine = newEngine();
engine.registerRenderer(String.class, rawRenderer);
engine.setEncoder(new XMLEncoder());
Map<String, Object> model = new HashMap<String, Object>();
model.put("toEncode", "&<>'\"");
String actual = engine.transform("${toEncode}", model);