def METHOD_NAME(self):
    # mock fetch_timeseries() because 'keys_ts' has been pre-populated
    self.log_stats_parser.fetch_timeseries = MagicMock()
    # condition: evaluate_expression
    cond1 = Condition("cond-1")
    cond1 = TimeSeriesCondition.create(cond1)
    cond1.set_parameter("keys", "rocksdb.db.get.micros.p50")
    cond1.set_parameter("behavior", "evaluate_expression")
    keys = ["rocksdb.manifest.file.sync.micros.p99", "rocksdb.db.get.micros.p50"]
    cond1.set_parameter("keys", keys)
    cond1.set_parameter("evaluate", "keys[0]-(keys[1]*100)>500")
    self.log_stats_parser.check_and_trigger_conditions([cond1])
    expected_trigger = {
        NO_ENTITY: {
            1530896414: [9938.0, 16.31508],
            1530896440: [9938.0, 16.346602],
            1530896466: [9938.0, 16.284669],
            1530896492: [9938.0, 16.16005],
        }
    }
    self.assertDictEqual(expected_trigger, cond1.get_trigger())
    self.log_stats_parser.fetch_timeseries.assert_called_once()