-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Ping Pong roles and introduce new test
1. Update the Ping and Pong roles to make them each other's response. This allows for unlimited back-and-forth communication in the test suite. 2. Introduce new structs for the expectation fields. This allows for keeping the expectations ordered in a neat way. 3. Introduce a new boolean field in Expectations. This keeps track of whether a response is expected or not and creates the appropriate ResponseInstruction accordingly in handle_custom_message. 4. Introduce a new test for `ResponseInstruction::WithReplyPath`, verifying both successful and unsuccessful `reply_path` creation.
- Loading branch information
Showing
1 changed file
with
92 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters