@Test(expected = SystemException.class)
public void testWithIllegalTimeunit() {

    Transform propagateTransform = new PropagateTransform();
    Map<Long, Double> datapoints = new HashMap<Long, Double>();
    datapoints.put(1000L, 1.0);
    datapoints.put(2000L, 2.0);
    datapoints.put(3000L, 3.0);
    Metric metric = new Metric(TEST_SCOPE, TEST_METRIC);
    metric.setDatapoints(datapoints);
    List<Metric> metrics = new ArrayList<Metric>();
    metrics.add(metric);
    List<String> constants = new ArrayList<String>(1);
    constants.add("5w");
    propagateTransform.transform(null, metrics, constants);
}