result = test("[2.2, 3.3, 4.4]", DoubleArray.class);
Assert.assertEquals(result, new DoubleArray(Arrays.asList(2.2D, 3.3D, 4.4D)));
Assert.assertSame(result.getClass(), DoubleArray.class);
result = test("[\"APPLE\", \"BANANA\"]", EnumFruitsArray.class);
Assert.assertEquals(result, new EnumFruitsArray(Arrays.asList(EnumFruits.APPLE, EnumFruits.BANANA)));
Assert.assertSame(result.getClass(), EnumFruitsArray.class);
result = test("[" + _bytes16Quoted + ", " + _bytes16Quoted + "]", BytesArray.class);
Assert.assertEquals(result, new BytesArray(Arrays.asList(ByteString.copyAvroString(_bytes16, true), ByteString.copyAvroString(_bytes16, true))));
Assert.assertSame(result.getClass(), BytesArray.class);