RowIteratorFacade extends RangeIteratorFacade<RowIterator> implements RowIterator { @Override public Row nextRow() { Row internal = delegate.nextRow(); return new RowFacade<>(internal, session); } @SuppressWarnings("WeakerAccess")  RowIteratorFacade(final @NotNull RowIterator delegate, final @NotNull SessionFacade<S> session); @Override Row nextRow(); @Override Object next();  }
@Test public void testNextRow() throws Exception { new FacadeGetterMapping.Tester<>(RowIterator.class, this::getFacade) .testFacadeGetter(Row.class, RowFacade.class, RowIterator::nextRow); }