@Test
public void testStop() throws Exception {

    Monitor mon = openMon.start(staticPart);
    openMon.stop(mon);
    assertThat(mon.getLabel()).describedAs("The label should match passed in label").isEqualTo(SharedConstants.LABEL);
    assertThat(mon.getActive()).describedAs("The monitor should not be running").isEqualTo(0);
    assertThat(mon.getHits()).describedAs("The monitor should have finished and recorded hits").isEqualTo(1);
}