Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
titleCode sample
linenumberstrue
http().client(mockAppClient).send().get("therapeuticExclusion/v2/therapeuticExclusions/${patientSsin}")
                .queryParam("hcPartySsin", "${hcPartySsin}")
                .header("Authorization", "Bearer " + authToken).accept(ContentType.APPLICATION_JSON.getMimeType());

        http().client(mockAppClient).receive().response(HttpStatus.OK).messageType(MessageType.JSON)
                .validate("$[:1].patient.identifier[:1].value", "${patientSsin}")
                .validate("$[:1].hcParty.identifier[?(@.type=='ssin')]", "${hcPartySsin}")

...