@Beta
  public <U> void verifyAll(
    @DelegatesTo.Target
      U target,
    @DelegatesTo(strategy = Closure.DELEGATE_FIRST) @ClosureParams(FirstParam.class)
      Closure<?> closure
  ){
    if (target == null) {
      throw new SpockAssertionError("Target of 'verifyAll' block must not be null");
    }
    closure.setDelegate(target); // for conditions
    closure.setResolveStrategy(Closure.DELEGATE_FIRST);
    GroovyRuntimeUtil.invokeClosure(closure, target);
  }
A combination of {@link #with(Object, Closure)} and {@link #verifyAll(Closure)}.

@since 1.2
@param target an implicit target for conditions and/or interactions
@param closure a code block containing top-level conditions and/or interactions
@param <U> type of target
spock-core/src/main/java/spock/lang/Specification.java