@Test
public void testEmptyFilterList() {

  Scan scan =
      new Scan()
          .setFilter(new FilterList())
          .withStartRow("a".getBytes())
          .withStopRow("z".getBytes());
  scanAdapter.adapt(scan, throwingReadHooks, query);
  RowSet result = query.toProto(requestContext).getRows();
  RowSet expected =
      RowSet.newBuilder()
          .addRowRanges(
              RowRange.newBuilder()
                  .setStartKeyClosed(ByteString.copyFromUtf8("a"))
                  .setEndKeyOpen(ByteString.copyFromUtf8("z")))
          .build();
  Assert.assertEquals(expected, result);
}