Skip to content

Commit

Permalink
Update getting-started.adoc
Browse files Browse the repository at this point in the history
removed `inputMessage` mention
  • Loading branch information
marcingrzejszczak authored May 4, 2023
1 parent d553abe commit cc9dd43
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions docs/src/main/asciidoc/getting-started.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ In the next listing, you can find:
- A JAX-RS client with the `JAXRS` test mode
- A `WebTestClient`-based test (this is particularly recommended while working with
Reactive, `Web-Flux`-based applications) set with the `WEBTESTCLIENT` test mode
- A Spock-based test with the `testFramework` property set to `SPOCK`

NOTE: You need only one of these test frameworks. MockMvc is the default. To use one
of the other frameworks, add its library to your classpath.
Expand Down Expand Up @@ -560,23 +559,6 @@ public class FooTest {
assertThatJson(parsedJson).field("['status']").isEqualTo("NOT_OK");
}
----
[source,groovy,indent=0,role="secondary"]
.spock
----
given:
ContractVerifierMessage inputMessage = contractVerifierMessaging.create(
\'\'\'{"bookName":"foo"}\'\'\',
['sample': 'header']
)
when:
contractVerifierMessaging.send(inputMessage, 'jms:delete')
then:
noExceptionThrown()
bookWasDeleted()
----
====

As the implementation of the functionalities described by the contracts is not yet
Expand Down

0 comments on commit cc9dd43

Please sign in to comment.