@Test
public void testSimpleColumnCount() throws IOException {

  Filters.Filter adaptedFilter =
      adapter.adapt(new FilterAdapterContext(new Scan(), null), new ColumnCountGetFilter(2));
  Assert.assertEquals(
      FILTERS
          .chain()
          .filter(FILTERS.limit().cellsPerColumn(1))
          .filter(FILTERS.limit().cellsPerRow(2))
          .toProto(),
      adaptedFilter.toProto());
}