Github user MikeThomsen commented on a diff in the pull request:
https://github.com/apache/nifi/pull/3049#discussion_r223181352
--- Diff:
nifi-commons/nifi-record/src/test/java/org/apache/nifi/serialization/record/TestDataTypeUtils.java
---
@@ -168,6 +168,21 @@ public void testConvertRecordFieldToObject() {
}
+ @Test
+ public void testToArray() {
+ final ArrayList<String> arrayList = new ArrayList<>();
+ arrayList.add("Seven");
--- End diff --
This could also be reduced to `final list<String> arrayList =
Arrays.asList("Seven", "Eleven", "Thirteen");`
---