| Modifier and Type | Method and Description |
|---|---|
org.springframework.messaging.Message<BookReturned> |
BookListener.returnBook(BookReturned bookReturned)
Scenario for "should generate tests triggered by a message": client side: if sends
a message to input.messageFrom then message will be sent to output.messageFrom
server side: will send a message to input, verify the message contents and await
upon receiving message on the output messageFrom
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.messaging.Message<BookReturned> |
BookListener.returnBook(BookReturned bookReturned)
Scenario for "should generate tests triggered by a message": client side: if sends
a message to input.messageFrom then message will be sent to output.messageFrom
server side: will send a message to input, verify the message contents and await
upon receiving message on the output messageFrom
|
void |
BookService.returnBook(BookReturned bookReturned)
Scenario for "should generate tests triggered by a method": client side: must have
a possibility to "trigger" sending of a message to the given messageFrom server
side: will run the method and await upon receiving message on the output
messageFrom
Method triggers sending a message to a source
|
Copyright © 2016–2021 Spring. All rights reserved.