Skip to content

Mocking traits with associated functions? #493

Answered by asomers
U007D asked this question in Questions
Discussion options

You must be logged in to vote

See the example at https://docs.rs/mockall/latest/mockall/#static-methods . Because there's no receiver, the syntax is a little bit different.

Replies: 1 comment 1 reply

Comment options

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

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