### Question:
CollectionOperandNode extends OperandNode { public List<String> getData() { return data; } CollectionOperandNode(DataType dataType, List<String> data); List<String> getData(); @Override String toString();  }### Answer:
@Test public void testGetData() { List<String> data = new ArrayList<>(); data.add("s"); CollectionOperandNode operand = new CollectionOperandNode(DataType.INTEGER, data); assertSame(data, operand.getData()); assertEquals("s", operand.getData().get(0)); }