Home > Tutorials > QA and Testing

Tutorials - Using Powermock with Junit

Powermock is an open-source Java framework. Powermock leverages the capabilities of frameworks like Mockito to create mock objects in unit testing.
Junit private methods: How to unit test private methods and classes
Junit private methods: How to unit test private methods and classes
Unit testing private methods and classes are possible by using Powermock's Whitebox. The Whitebox uses reflection to create inner class instances and invoke private methods outside...
31 March 2021