public void should_fail_create_condition_on_unallowed_operator() {
long qGateId = 42L;
final Metric metric = mock(Metric.class);
when(metric.getType()).thenReturn(ValueType.BOOL);
when(metricFinder.findByKey(anyString())).thenReturn(metric);
when(dao.selectById(qGateId)).thenReturn(new QualityGateDto().setId(qGateId));
qGates.createCondition(qGateId, "alert_status", "LT", null, "80", 2);
}