assertThat().body("urn:acme:schemas:messages:2.0.requiredActions.any { it.containsKey('type') }", equalTo("componentRestart")).
It fails with the following error, apparently due to issues with groovy and colons:
Script1.groovy: 1: expecting EOF, found ':' @ line 1, column 30.
restAssuredJsonRootObject.urn:acme:schemas:messages:2.0.requiredActions.any { it.containsKey('type') }
Any assistance on how to verify the contents of the requiredActions array would be appreciated!
Doug
--
You received this message because you are subscribed to the Google Groups "REST assured" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.