Object o = struct.getField(0);
assertEquals(LazyString.class, o.getClass());
o = struct.getField(1);
assertEquals(LazyArray.class, o.getClass());
LazyArray arr = (LazyArray)o;
List<Object> values = arr.getList();
for(Object value : values) {
assertEquals(LazyString.class, value.getClass());
String valueStr =((LazyString) value).getWritableObject().toString();
assertEquals("Sample value", valueStr);
}