There is a java program which has some private methods and some calculations based on daily/monthly payments. you have to write junit for the same to check the calculations is proper.
Sigiloso
you have to create some mock objects without using mock framework. the trick was to create public get methods for the private methods to be tested and inject the dependency.