Skip to content

Commit

Permalink
Add missing HermesMockExpect documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
3750 authored and druminski committed Jun 26, 2023
1 parent af4a931 commit e899428
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/docs/user/hermes-mock.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,15 @@ of a specific type.
- `<T> void jsonMessagesOnTopicAs(String topicName, int count, Class<T> clazz)` - expects particular number of
JSON messages on a given topic.

- `<T> void jsonMessagesOnTopicAs(String topicName, int count, Class<T> clazz, Predicate<T> predicate)` - expects particular number of
JSON messages on a given topic and matching given predicate.

- `<T> void avroMessagesOnTopic(String topicName, int count, Schema schema)` - expects particular number of
Avro messages on a given topic.

- `<T> void avroMessagesOnTopic(String topicName, int count, Schema schema, Class<T> clazz, Predicate<T> predicate)` - expects particular number of
Avro messages on a given topic and matching given predicate.

##### HermesMockQuery

Is responsible for querying Hermes for a received messages, provides the following methods:
Expand Down

0 comments on commit e899428

Please sign in to comment.