and successfully captured all the String Array values, so I am guessing that jmockit is not capable of captureing VariableArguments, or is there any way to capture VariableArguments ?
The text was updated successfully, but these errors were encountered:
@rliesenfeld
thanks for your comment.
actually, I need to capture arguments for multiple calls, so I was trying a testcode by using withCapture(List).
now I know that it's a bug, I'll consider another way of verifying my case.
Please provide the following information:
1.20
I tried to test a code like this and verify the values set to it
with a test code like below
but the captured values in messagesList was just "hogehoge", and all the other arguments looks like it's lost.
I tried testing with
and successfully captured all the String Array values, so I am guessing that jmockit is not capable of captureing VariableArguments, or is there any way to capture VariableArguments ?
The text was updated successfully, but these errors were encountered: