### Question:
CArray extends CValue { public List<CValue> data() { return data == null ? Collections.<CValue>emptyList() : Collections.unmodifiableList(data); } CArray(final List<CValue> data); List<CValue> data(); @Override Set<String> referencedKeys(); @Override void replace(String key, String resolvedValue); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testData() throws Exception { assertArrayEquals(new CValue[]{PRIMITIVE_ONE, PRIMITIVE_TWO}, cArray.data().toArray(new CValue[]{})); }