@Test
public void testReadWrite() throws Exception {

  InMemoryTable table = new InMemoryTable();
  ResultFilter fitler = new ResultFilter(table);
  ResultFilter ret = (ResultFilter) Utils.testReadWrite(fitler);
  assertEquals(fitler, ret);
  fitler = new ResultFilter(CRange.FULL_TABLE_RANGE, new MockConstraint());
  ret = (ResultFilter) Utils.testReadWrite(fitler);
  assertTrue(fitler.equals(ret));
}