title: BiConsumer exception test
body: <p>How i can test exception for code coverage. I can mock Connection, but i don't know what to do next</p>
  <pre><code> private static final BiConsumer&lt;PreparedStatement, Integer&gt; INTEGER_CONSUMER
              = (PreparedStatement preparedStatement, Integer param) -&gt; {
          try {
              preparedStatement.setInt(1, param);
          } catch (SQLException e) {
              throw new DBException(String.format(MESSAGE_FORMAT, &quot;Integer consumer&quot;, FAILED_MESSAGE), e);
          }
      };
  </code></pre>