Class Expectations

java.lang.Object
org.hibernate.jdbc.Expectations

public class Expectations extends Object
Useful operations for dealing with Expectations.
  • Method Details

    • createExpectation

      @Internal public static Expectation createExpectation(Supplier<? extends Expectation> expectation, boolean callable)
      Create an instance of the given class implementing Expectation.
      Parameters:
      expectation - a class which implements Expectation
      callable - true if the Expectation will be called with CallableStatements.
      Returns:
      a new instance of the given class
      Since:
      6.5