Link to home
Start Free TrialLog in
Avatar of Sathish David  Kumar N
Sathish David Kumar NFlag for India

asked on

how to mock the value of pass reference method

is it possible to assign some value to pass by references method in mockito unit test

eg:

test(input,input1);
i   need to change the value of input after return  ? is that possible??
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

What types are those parameters?
Avatar of Sathish David  Kumar N

ASKER

it our own class parameter ..
our meta data
example

process(processHelper);
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
:)