@Test
public void testParseAmp() throws Exception {

    final TextContentParser parser = createTestTextContentParser();
    TextBlock contents = parser.parse("{{name}}");
    Map<String, Object> model = Maps.newHashMap();
    model.put("name", "&Name");
    assertCorrectRender(contents, model, "&Name");
    final Component annotation = FilterEscapeXmlAttrs.class.getAnnotation(Component.class);
    contents = parser.parse("{{name | " + annotation.value() + "}}");
    model.put("name", "&Name");
    assertCorrectRender(contents, model, "&amp;Name");
}