The problem is folow:
I need to
test some public method which is calling private static method. To test them separately I want to mock the second one.
PowerMock has method
to expect call of private static. Also we can mock selected method of object with
and it works for simple private methods.
But how can I make my tested obj to call mocked class method instead of its reall class method?