AlertMessageDecorator extends Decorator { @Override protected String getTemplateName() { return TEMPLATE_NAME; }  @Override String doGenerateTitle(AlertEntity alert); static final String ID; }
@Test public void getTemplateName() throws Exception { Assert.assertEquals("RedisAlertTemplate.vm", decorator.getTemplateName()); }