chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Hi -

I need to test a method taking in more than 20 params, but I get this error:

Virtual Mock can handle up to 20 parameters

can you help...

asked by dean2008 (960 points)

3 Answers

0 votes

Sorry, currently we support only up to 20 parameters. :sad:
However if you will let me know how many parameters are we talking about ill see what we can do. 8)
answered by lior (13.2k points)
0 votes
Hi Lior,

the issue is that we are testing a data gateway method, we have some sort of work around but it is not the best. Our method takes 30 parameters, can we have an overloaded .Args(int paramCount, params Object [] args) ???

answered by dean2008 (960 points)
0 votes
I'll see what can be done about this. :)
answered by lior (13.2k points)