About
Pricing
Community
Teams
Start Free Trial
Log in
Sathish David Kumar N
asked on
8/25/2018
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??
* JUnit
Java
* Spring
4
1
Last Comment
CEHJ
8/22/2022 - Mon
CEHJ
8/26/2018
What types are those parameters?
Sathish David Kumar N
8/26/2018
ASKER
it our own class parameter ..
our meta data
example
process(processHelper);
ASKER CERTIFIED SOLUTION
CEHJ
8/26/2018
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
CEHJ
8/26/2018
:)
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy