@Test(expected = UnsupportedOperationException.class)
public void testJoinTransformWithConstant() {

    Transform joinTransform = new JoinTransform();
    List<Metric> metrics = new ArrayList<Metric>();
    List<String> constants = new ArrayList<String>();
    joinTransform.transform(null, metrics, constants);
}