@Override
  public Session open(Class<?> entityType) {
    creator.accept(entityType);
    return backend.open(entityType);
  }
Backend wrapper which notifies a callback before opening a session.
Useful in tests when one wants to auto-create collection / index / table before running tests.
criteria/common/test/org/immutables/criteria/backend/WithSessionCallback.java