byte[] expected = {1,2,3,4,5,6};
DataByteArray dbaExpected = new DataByteArray(expected);
DataByteArray dbaA = new DataByteArray(a);
DataByteArray dbaB = new DataByteArray(b);
EvalFunc<DataByteArray> concat = new CONCAT();
Tuple t = TupleFactory.getInstance().newTuple(2);
t.set(0, dbaA);
t.set(1, dbaB);
DataByteArray result = concat.exec(t);
String msg = "[Testing CONCAT on input type: bytearray]";
assertTrue(msg, result.equals(dbaExpected));
// String concat
String s1 = "unit ";