From a57a8e6548fc4fbd7a6cd4feac660e3fc8ce1ed3 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Thu, 20 Dec 2018 14:58:32 +0100 Subject: [PATCH] Polish --- docs/src/main/asciidoc/verifier_contract.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/verifier_contract.adoc b/docs/src/main/asciidoc/verifier_contract.adoc index 0480ac90d0..2d758466c6 100644 --- a/docs/src/main/asciidoc/verifier_contract.adoc +++ b/docs/src/main/asciidoc/verifier_contract.adoc @@ -821,7 +821,7 @@ match the regex for an ISO DateTime value. the regex for an ISO Time value. ** `byType()`: The value taken from the producer's response via the provided JSON Path needs to be of the same type as the type defined in the body of the response in the contract. -`byType` can take a closure, in which you can set `minOccurrence` and `maxOccurrence`. For the request side, you should use the closure to assert size of the collection. +`byType` can take a closure, in which you can set `minOccurrence` and `maxOccurrence`. For the request side, you should use the closure to assert size of the collection. That way, you can assert the size of the flattened collection. To check the size of an unflattened collection, use a custom method with the `byCommand(...)` testMatcher. ** `byCommand(...)`: The value taken from the producer's response via the provided JSON Path is