Mockito verify other function gets called with right parameter,when we call some function. : If i have 2 functions. Function1 which calls function2. I need to write test case for them. I am using mockito. Trait.

[Just a mimic of the stuff][1]


  [1]: http://i.stack.imgur.com/PhJeO.png