@Test
public void integerLimitsAreApplied() throws IOException {

  ColumnPaginationFilter filter = new ColumnPaginationFilter(10, 20);
  Filters.Filter adaptedFilter =
      adapter.adapt(new FilterAdapterContext(new Scan(), null), filter);
  Filters.Filter expected =
      FILTERS
          .chain()
          .filter(FILTERS.limit().cellsPerColumn(1))
          .filter(FILTERS.offset().cellsPerRow(20))
          .filter(FILTERS.limit().cellsPerRow(10));
  Assert.assertEquals(expected.toProto(), adaptedFilter.toProto());
}