All Questions
Tagged with white-box-testing powermockito
2
questions
1
vote
1
answer
1k
views
PowerMockito - Whitebox Get Constructor of inner class with int[] parameter
As the title mentions, I'm using PowerMockito to test a class that contains an inner private class. The inner class has a constructor that has an 'int[]' parameter. Below is the code.
final Class ...
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 ...