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

    Transform aliasTransform = new AliasTransform();
    List<Metric> metrics = new ArrayList<Metric>();
    metrics.add(new Metric(TEST_SCOPE, TEST_METRIC));
    List<String> constants = new ArrayList<String>();
    constants.add(TEST_ALIAS_LITERAL);
    constants.add(TEST_BAD_STRING);
    aliasTransform.transform(null, metrics, constants);
}