Expression.comparison("columnName2", "qualifier2", Comparison.Operator.GT, Bytes.toBytes("value2")),
Expression.comparison("columnName3", "qualifier3", Comparison.Operator.LT, Bytes.toBytes("value3"))
)
);
DataOutputBuffer dataOutputBuffer = new DataOutputBuffer();
expression.write(dataOutputBuffer);
DataInputBuffer dataInputBuffer = new DataInputBuffer();
dataInputBuffer.reset(dataOutputBuffer.getData(), dataOutputBuffer.getLength());
Expression clonedExpression = new Or();
clonedExpression.readFields(dataInputBuffer);
Assert.assertEquals("The expression was not the same after being written and read", expression, clonedExpression);