Skip to content

'GetMessagesBatch' unit tests #264

Answered by filipeesch
diogod3 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @diogod3 , we are planning a refactor on BatchConsume to solve this problem in the future v3.
With the current implementation, you could create a class that receives a list of messages and the middleware calls your class, doing this way you can test your class directly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@diogod3
Comment options

Answer selected by diogod3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants