Power mock framework doing the same thing which i can do by reflection .
And test driven environment can be achieve by both for Spring based container.
Power mock framework doing the same thing which i can do by reflection .
And test driven environment can be achieve by both for Spring based container.
I guess most things in Java can be done using reflection. You could implement your own collection classes using reflection, if you wanted. Mocking libraries allow you to easily, without a ton of boilerplate code:
PowerMock specifically also allows you to
But a mocking library itself is just java code and you could always do this stuff yourself if you want to rewrite something similar using reflection.