@Override public void process(Object model, Writer writer) throws TemplateException, IOException { assertEquals(Locale.US, locale); assertTrue(model instanceof AllHttpScopesHashModel); AllHttpScopesHashModel fmModel = (AllHttpScopesHashModel) model; assertEquals("myvalue", fmModel.get("myattr").toString()); } };