@Test
public void onlyTheFirstKeyFromEachRowIsEmitted() throws IOException {

  Filters.Filter adaptedFilter =
      adapter.adapt(new FilterAdapterContext(new Scan(), null), new FirstKeyOnlyFilter());
  Assert.assertEquals(FILTERS.limit().cellsPerRow(1).toProto(), adaptedFilter.toProto());
}