@Test
public void testActionDetermination() {

    QoSHandler qosHandler = new QoSHandler(vertx, storage, qosSettingsPath, new HashMap<>(), prefix);
    // ratio, threshold ratio
    assertThat(qosHandler.actionNecessary(1.5, 1.6), is(Boolean.TRUE));
    assertThat(qosHandler.actionNecessary(1.5, 1.5), is(Boolean.TRUE));
    assertThat(qosHandler.actionNecessary(1.5, 2.0), is(Boolean.TRUE));
    assertThat(qosHandler.actionNecessary(1.5, 1.45), is(Boolean.FALSE));
    assertThat(qosHandler.actionNecessary(1.5, 1.3), is(Boolean.FALSE));
    assertThat(qosHandler.actionNecessary(1.5, 1), is(Boolean.FALSE));
}