@Test
public void testAliasTransformLiteral() {

    Transform aliasTransform = new AliasTransform();
    Metric metric_1 = new Metric(TEST_SCOPE, TEST_METRIC_NAME_1);
    Metric metric_2 = new Metric(TEST_SCOPE, TEST_METRIC_NAME_2);
    Metric metric_3 = new Metric(TEST_SCOPE, TEST_METRIC_NAME_3);
    List<Metric> metrics = new ArrayList<Metric>();
    metrics.add(metric_1);
    metrics.add(metric_2);
    metrics.add(metric_3);
    List<String> constants = new ArrayList<String>();
    constants.add(TEST_ALIAS_LITERAL);
    constants.add(TEST_TYPE_LITERAL);
    List<Metric> result = aliasTransform.transform(null, metrics, constants);
    assertEquals(result.size(), 3);
    assertEquals(TEST_ALIAS_LITERAL, result.get(0).getMetric());
    assertEquals(TEST_ALIAS_LITERAL, result.get(1).getMetric());
    assertEquals(TEST_ALIAS_LITERAL, result.get(2).getMetric());
}