@Test
public void testAboveThresholds() {

    ImmutableMap<String, String> config = ImmutableMap.<String, String>builder()
            .put("root.cellA.runtimeThresholdInSeconds", "60")
            .put("root.cellA.sigmaThreshold", "10")
            .put("root.cellB.runtimeThresholdInSeconds", "6")
            .put("root.cellB.sigmaThreshold", "1")
            .build();
    Map<String, JobRuntimePredictionSelector> selectors = aboveThresholds(new MapConfig(config).getPrefixedView("root"), METADATA);
    checkSelection(selectors.get("cellA").apply(JOB_DESCRIPTOR, JOB_PREDICTIONS), HIGH_QUANTILE);
    assertThat(selectors.get("cellB").apply(JOB_DESCRIPTOR, JOB_PREDICTIONS)).isEmpty();
}