@Test
public void testStartMonitoring() throws Exception {

	when(corePlugin.isStagemonitorActive()).thenReturn(true);
	Stagemonitor.setConfiguration(configuration);
	Stagemonitor.reset();
	final MeasurementSession measurementSession = new MeasurementSession("StagemonitorTest", "testHost", "testInstance");
	Stagemonitor.reset(measurementSession);
	assertTrue(Stagemonitor.isStarted());
	assertTrue(Stagemonitor.getMeasurementSession().isInitialized());
	assertSame(measurementSession, Stagemonitor.getMeasurementSession());
	assertThat(healthCheckRegistry.runHealthCheck("TestPlugin").isHealthy()).isTrue();
	assertThat(healthCheckRegistry.runHealthCheck("TestExceptionPlugin").isHealthy()).isFalse();
}