Luiz H. Rapatão

Luiz H. Rapatão

Staff Software Engineer

3-Minute Read

Verify vararg methods using Mockito

Building tests is one of the most routine tasks for a developer and normally, with frameworks like jUnit and Mockito, this task tends to be carried out without great difficulties. Despite this, there are certain validations, which tend to be more complex, such as checking calls to methods with parameters of type varargs.

Recent Posts