How-to articles, tricks, and solutions about TDD
How do I test a class that has private methods, fields or inner classes?
To test a class that has private methods, fields, or inner classes, you can do the following:
How to verify that a specific method was not called using Mockito?
To verify that a specific method was not called using Mockito, you can use the verifyZeroInteractions method.