@Test
public void testBodyDefaultTemplate() {

    String body = formatter.formatBody(null, createEvent());
    System.out.println(body);
    Assert.assertTrue(body.contains("SEVERE alert: condition TestPattern alert"));
    Assert.assertTrue(body.contains("other : test"));
    Assert.assertTrue(body.contains("alertPattern : TestPattern"));
    Assert.assertTrue(body.contains("event.topics : foo"));
    Assert.assertTrue(body.contains("foo : bar"));
    Assert.assertTrue(body.contains("alertLevel : SEVERE"));
}