assertEquals(vv(v(c1)), compactor.compact(vv(v(c1), v(c2))));
}
@SuppressWarnings("unchecked")
public void testNonCompactionOfNonPrimitiveConstants() throws Exception {
VariableCompactor compactor = new VariableCompactor();
Constant c1 = new Constant("a", JavaType.OBJECT);
Constant c2 = new Constant("a", JavaType.fromClass(String.class));
assertEquals(vv(v(c1), v(c2)), compactor.compact(vv(v(c1), v(c2))));
}