@Test
public void wrappedFilterNotSupported() {

  FilterBase notSupported =
      new FilterBase() {
        @Override
        public ReturnCode filterKeyValue(Cell v) throws IOException {
          return null;
        }
      };
  WhileMatchFilter filter = new WhileMatchFilter(notSupported);
  Scan scan = new Scan();
  scan.setFilter(filter);
  FilterAdapterContext context = new FilterAdapterContext(scan, new DefaultReadHooks());
  assertFalse(instance.isFilterSupported(context, filter).isSupported());
}