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

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