ArrayDataSchema schema = (ArrayDataSchema) DataTemplateUtil.parseSchema("{ \"type\" : \"array\", \"items\" : \"boolean\" }");
List<Boolean> input = Arrays.asList(true, false); // must be unique
List<Boolean> adds = Arrays.asList(false, true, true, false);
List<Object> badInput = asList(1, 2L, 3f, 4.0, "hello", ByteString.empty(), new StringMap(), new StringArray(), null);
List<Object> badOutput = asList(1, 2L, 3f, 4.0, "hello", ByteString.empty(), new DataMap(), new DataList());
testArray(BooleanArray.class, schema, input, adds);
testArrayBadInput(BooleanArray.class, schema, input, badInput, badOutput);
}