DoubleArray doubleArray = new DoubleArray();
record.setDoubleRefArray(doubleArray);
doubleArray = record.getDoubleRefArray();
assertEquals(doubleArray.schema(), DataTemplateUtil.getSchema(DoubleArray.class));
assertNotEquals(recordDataSchema.getField("doubleRefArray").getType(), doubleArray.schema());
IntegerArray intArray = new IntegerArray();
record.setIntArray(intArray);
intArray = record.getIntArray();
assertEquals(intArray.schema(), DataTemplateUtil.getSchema(IntegerArray.class));