public void testPrettyPrintTHRESHOLD_Calltime() {
MeasurementDefinition md = createCalltimeMeasurementDefinition();
String regex = "some.*(reg)?ex$"; // this is the "name" of the condition
AlertCondition condition = createCondition(AlertConditionCategory.THRESHOLD, regex, ">", 12.5d, "MAX", md);
pretty = getPrettyAlertConditionString(condition);
check(AlertI18NResourceKeys.ALERT_METRIC_CALLTIME_THRESHOLD_WITH_EXPR, "CT Prop", "MAX", ">", TWELVE_DOT_5_B,
regex);
pretty = getShortPrettyAlertConditionString(condition);
check(AlertI18NResourceKeys.ALERT_METRIC_CALLTIME_THRESHOLD_WITH_EXPR_SHORT, "CT Prop", "MAX", ">",