Is it posible to create a partial mock using mockito-flex?
A:
Mockito-flex does not support partial mocks at this point. However you can make your mock object call original functions.
given(someone.something(any())).will(callOriginal());
You could add a convenience function that makes your mock call originals for all public functions and properties.
Kris
2010-08-20 06:33:52