JavaSimon extends OpenMonBase<Split> { @Override public void stop(Split split) { split.stop(); }  @Override Split start(JoinPoint.StaticPart jp); @Override void stop(Split split);  }
@Test public void testStop() throws Exception { Split mon = openMon.start(staticPart); openMon.stop(mon); assertThat(mon.getStopwatch().getActive()).describedAs("The monitor should have been started").isEqualTo(0); assertThat(mon.getStopwatch().getCounter()).describedAs("The monitor should not have finished").isEqualTo(1); }