@Test
public void testSubjectExternalTemplate() {

    String subject = formatter.formatSubject(this.getClass().getClassLoader().getResource("subjectTemplate.vm").getPath(), createEvent());
    Assert.assertEquals("Simple TestAttribute for SEVERE", subject);
}