DbmsOperationalHandlerBuilderImpl implements DbmsOperationalHandlerBuilder { @Override public DbmsOperationalHandlerBuilder withConfigureSelectResultSet(SqlConsumer<ResultSet> configurator) { this.resultSetConfigurator = requireNonNull(configurator); return this; } DbmsOperationalHandlerBuilderImpl(ConnectionPoolComponent connectionPoolComponent, TransactionComponent transactionComponent); @Override DbmsOperationalHandlerBuilder withGeneratedKeysHandler(SqlBiConsumer<PreparedStatement, LongConsumer> generatedKeysHandler); @Override DbmsOperationalHandlerBuilder withConfigureSelectPreparedStatement(SqlConsumer<PreparedStatement> configurator); @Override DbmsOperationalHandlerBuilder withConfigureSelectResultSet(SqlConsumer<ResultSet> configurator); @Override DbmsOperationalHandlerBuilder withInsertHandler(SqlTriConsumer<Dbms, Connection, HasGeneratedKeys> insertHandler); @Override DbmsOperationHandler build();  }
@Test void withConfigureSelectResultSet() { assertThrows(NullPointerException.class, () -> instance.withConfigureSelectResultSet(null)); assertDoesNotThrow(() -> instance.withConfigureSelectResultSet(resultSet -> {})); }