public static PactDslJsonArray arrayEachLike ( Integer numberExamples , PactDslJsonRootValue value ) { PactDslJsonArray parent = new PactDslJsonArray ( "" , "" , null , true ) ; parent . setNumberExamples ( numberExamples ) ; parent . matchers . addRule ( "" , parent . matchMin ( 0 ) ) ; parent . putObject ( value ) ; return parent ; }
Root level array where each item must match the provided matcher