@Test
public void simpleWrappedFilter() throws IOException {

  ValueFilter valueFilter =
      new ValueFilter(CompareFilter.CompareOp.LESS, new BinaryComparator(Bytes.toBytes("12")));
  WhileMatchFilter filter = new WhileMatchFilter(valueFilter);
  Filters.Filter actualFilter = instance.adapt(emptyScanContext, filter);
  Filters.Filter expectedFilter =
      buildExpectedRowFilter(
          filterAdapter.adaptFilter(emptyScanContext, valueFilter).get(),
          emptyScanContext.getCurrentUniqueId());
  assertEquals(expectedFilter.toProto(), actualFilter.toProto());
}