WIP
[demos/example-siren] / spring-consumer / src / test / java / de / juplo / demos / pact / ContractTest.java
index 2e89474..c97432b 100644 (file)
@@ -32,6 +32,10 @@ public class ContractTest
             .headers(Map.of("Content-Type", "application/vnd.siren+json"))
             .body(LambdaDsl.newJsonBody(body ->
             {
+              body.arrayContaining("actions", actions ->
+              {
+                actions.stringType("foo");
+              });
             }).build())
         .toPact();
   }