@Override
    public PactDslJsonBody eachLike(int numberExamples) {
      matchers.addRule(rootPath + appendArrayIndex(1), matchMin(0));
      PactDslJsonArray parent = new PactDslJsonArray(rootPath, "", this, true);
      parent.setNumberExamples(numberExamples);
      return new PactDslJsonBody(".", "", parent);
    }
@ Override public PactDslJsonBody eachLike ( int numberExamples ) { matchers . addRule ( rootPath + appendArrayIndex ( 1 ) , matchMin ( 0 ) ) ; PactDslJsonArray parent = new PactDslJsonArray ( rootPath , "" , this , true ) ; parent . setNumberExamples ( numberExamples ) ; return new PactDslJsonBody ( "." , "" , parent ) ; }
Element that is an array where each item must match the following example
@param numberExamples Number of examples to generate