code: public LambdaDslJsonArray eachLike(int numberExamples, Consumer<LambdaDslJsonBody> nestedObject) {
          final PactDslJsonBody arrayLike = pactArray.eachLike(numberExamples);
          final LambdaDslJsonBody dslBody = new LambdaDslJsonBody(arrayLike);
          nestedObject.accept(dslBody);
          arrayLike.closeArray();
          return this;
      }
docs: Element that is an array where each item must match the following example
  
  @param numberExamples Number of examples to generate