PowerMock provides the method expectPrivate
to mock out private methods, however it appears only in EasyMock api and not the Mockito API.
So, is there an equivalent for PowerMockito? I'm guessing not because I haven't found it and because of this wiki entry. but that doesn't actually prevent PowerMockito from working around it. So, I'm asking this mostly for confirmation and since I think this will be of value for others.
PowerMockito provides ways to mock private methods as well, from the API:
There are a bunch of other signatures of the type described above.
An example: