I have a method that call a void function in it, and when I use doNothing(), it says that void method it's not allowed. How could I doNothing() in that specific line?
I'm using this line,
when(spyColorSelector.initializeColors(view, "red")).then(doNothing());
Aucun commentaire:
Enregistrer un commentaire