• Using PowerMock 1.2.5 with Mockito 1.7
  • Mocking Static Method
  • How to verify behavior
  • How to use argument matchers
  • How to verify exact number of calls
  • How to stub void static method to throw exception
  • A full example for mocking, stubbing & verifying static method
  • Partial Mocking
  • How to mock and stub
  • How to verify behavior
  • How to argument matchers
  • How to stub void static method to throw exception
  • A full example of partial mocking