@Test
public void testActiveRequestPerRuleMonitoring(TestContext testContext){

    activateRequestPerRuleMonitoring(false);
    MonitoringHandler mh = new MonitoringHandler(vertx, storage, PREFIX);
    testContext.assertFalse(mh.isRequestPerRuleMonitoringActive(),
            "request per rule monitoring should not be active since no system property was set");
    // set system property and check again
    activateRequestPerRuleMonitoring(true);
    MonitoringHandler mh2 = new MonitoringHandler(vertx, storage, PREFIX);
    testContext.assertTrue(mh2.isRequestPerRuleMonitoringActive(),
            "request per rule monitoring should be active since the correct system property was set");
}