WIP
[demos/example-siren] / spring-consumer / src / test / java / de / juplo / demos / pact / ContractTest.java
index 91b8f65..95074a5 100644 (file)
@@ -42,6 +42,12 @@ public class ContractTest
                     object.stringType("method", "PUT");
                     object.matchUrl2("href", Matchers.regexp("\\d+", "1234").getValue());
                   });
+                  actions.object(object ->
+                  {
+                    object.stringType("name","delete");
+                    object.stringType("method", "DELETE");
+                    object.matchUrl2("href", Matchers.regexp("\\d+", "1234").getValue());
+                  });
                 });
               });
             }).build())