@Test
void includeEventWhenIllegalPath()
{

    assertNull(this.handler.includeEvent(null, "../WEB-INF/xwiki.cfg", "xwiki:Main.WebHome", "parse"),
        "Template shouldn't have been returned");
    assertEquals(1, this.logCapture.size());
    assertEquals("Direct access to template file [/WEB-INF/xwiki.cfg] refused. Possible break-in attempt!",
        this.logCapture.getMessage(0));
}