In the walkthrough, you show how to mock the Dog class, which affects all instances of Dog until unstub() is used. I think it's also important to show that a single instance of a class can be mocked. Add to the documentation examples from https://code.google.com/archive/p/mockito-python/ that show mocking a single instance (rex) of Dog.
In the walkthrough, you show how to mock the Dog class, which affects all instances of Dog until
unstub()
is used. I think it's also important to show that a single instance of a class can be mocked. Add to the documentation examples from https://code.google.com/archive/p/mockito-python/ that show mocking a single instance (rex) of Dog.