@Test(expected = IllegalArgumentException.class)
public void testLimitTransformWithoutConstant() {

    Transform limitTransform = new LimitTransform();
    Metric metric_1 = new Metric(TEST_SCOPE, TEST_METRIC);
    List<Metric> metrics = new ArrayList<Metric>();
    metrics.add(metric_1);
    List<String> constants = new ArrayList<String>();
    limitTransform.transform(null, metrics, constants);
}