The Wayback Machine - https://web.archive.org/web/20200903114011/https://github.com/topics/mockito
Skip to content
#

mockito

Here are 863 public repositories matching this topic...

AnthonyMillerSF
AnthonyMillerSF commented Apr 16, 2020

I have a library that I generate all of my mocks into that is imported in my unit tests. When mocking a protocol, the generated mock object doesn't have an initializer declared. This means is uses the default initializer, which would be fine, except the default init() method is internal. I can get around this by importing my mock library @testable, but I'd suggest that protocol mocks for publi

Improve this page

Add a description, image, and links to the mockito topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mockito topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.