Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [white-box-testing]

White box testing is a process of giving the input and checking how the given input is been processed to obtain the output from the system.

white-box-testing
2 votes
0 answers
6k views

How to mock private methods using Whitebox(org.powermock.reflect)

I want to mock a private method which has been called inside another method. Following is the sample code, I have written. Java code: package org.mockprivatemethods; public class AccountDeposit ...
S Kumar's user avatar
  • 585