@Test
public void testException() throws Exception {

    Counter mon = SimonManager.getCounter(openMon.cleanExceptionForSimon(SharedConstants.EXCEPTION_LABEL));
    Counter monGeneral = SimonManager.getCounter(OpenMon.EXCEPTION_LABEL);
    assertThat(mon.getCounter()).describedAs("The exception monitor should not have been created yet").isEqualTo(0);
    assertThat(monGeneral.getCounter()).describedAs("The general exception monitor should not have been created yet").isEqualTo(0);
    openMon.exception(jp, SharedConstants.EXCEPTION);
    assertThat(mon.getCounter()).describedAs("The exception monitor should have been created yet").isEqualTo(1);
    assertThat(monGeneral.getCounter()).describedAs("The general  exception monitor should have been created yet").isEqualTo(1);
}