@Test
public void maxVersionsIsSet() {

  Scan scan = new Scan();
  scan.setMaxVersions(10);
  scanAdapter.adapt(scan, throwingReadHooks, query);
  Assert.assertEquals(
      FILTERS.limit().cellsPerColumn(10).toProto(), query.toProto(requestContext).getFilter());
}