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
1
question
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 ...