maraino / go-mock

A mocking framework for the Go Programming Language.
MIT License
35 stars 12 forks source link

Convenience functions for verifying mocks #3

Closed abesto closed 9 years ago

abesto commented 9 years ago

I found myself writing these the first time I used go-mock today. It feels like "VerifyMocks" is something that would be nice to have in the library. I'm not sure you want to have assertions like "AssertVerifyMocks", I'm happy to remove it from the PR if that doesn't fit the design you have in mind.

I'm not sure if you want this, so I left documentation out for now. Happy to add documentation if you want to move forward with this.