Varargs matchers cannot differentiate between single elements and the entire array
Varargs matchers cannot differentiate between single elements and the entire array: a task in LegoFlow-SWE (Harbor dataset). When stubbing or verifying methods that accept varargs parameters, the built‑in matchers any() and ArgumentCaptor behave in a way that makes precise control impossible.
The task
When stubbing or verifying methods that accept varargs parameters, the built‑in matchers `any()` and `ArgumentCaptor` behave in a way that makes precise control impossible.
Part of Lego-X/LegoFlow-SWE.