@Test(expectedExceptions = IllegalArgumentException.class)
public void shouldThrowOnCompoundExpressions() {

  AlarmSubExpression.of("avg(hpcs.compute{metric_name=cpu, device=1, instance_id=5}) > 5 or avg(hpcs.compute{metric_name=mem, instance_id=5}) > 5");
}