@Test
public void testIncreaseOverTimeUsageThreshold() {

  temporarySystemProperties
      .set(Property.HEAP_MEMORY_USAGE_THRESHOLD.getQualifiedName())
      .to("+90%/3h");
  final Configuration configuration =
      Configuration.Builder.initializeFromSystemProperties(logger).build();
  final IncreaseOverTimeFrameUsageThresholdConfiguration config =
      (IncreaseOverTimeFrameUsageThresholdConfiguration) configuration
          .getHeapMemoryUsageThreshold();
  assertThat(config.getDelta(), is(90d));
  assertThat(config.getTimeFrame(), is(3d));
  assertThat(config.getTimeUnit(), is(IntervalTimeUnit.HOURS));
}