Update getting-started.adoc
removed `inputMessage` mention
This commit is contained in:
committed by
GitHub
parent
d553abe35c
commit
cc9dd43846
@@ -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.
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user