PowerMock vs Mockito - Java

Features given by adding PowerMock on top of the Mockito :
  • mock static, final and private methods
  • remove static initializers
  • allow mocking without dependency injection

Comments

Popular posts from this blog

public vs protected vs default access modifiers - Java

Class, Reference and Object