MockitoException - is a *void method* and it *cannot* be stubbed with a *return value*!
Error: a *different* void method cannot be stubbed with a return value
What do I return if the return type of a method is Void? (Not void!) How to do OngoingStubbing for a void method? Create API jar like Android does with stubbed methods? Can I delay a stubbed method response with Mockito? Mockito fails to run stubbed methods Methods stubbed out in uiautomator.jar in android Mockito non-stubbed functions Cannot return a value with void result type error Mockito exceptions in stubbed method Why does a void function return a value? Android Unit Test giving not mocked message for a Mockito stubbed method Void, value, or other? Spring autowire a stubbed service - duplicate bean Void and return in Java - when to use Mockito stubbing goes away after first invocation of a stubbed method Void methods cannot return a value Why can a void method in C++ return a void value, but in other languages it cannot? What does void do in java? mockito: Is there a way of capturing the return value of stubbed method? Mockito re-stub method already stubbed with thenthrow Why is my stubbed method returning null? Cannot convert void to java.lang.Void Android HttpURLConnection methods stubbed out in API 23? How to capture method arguments sent to a stubbed method using Mockito Return value of a void function Void methods can't return the value of a void method? Capturing method parameter in jMock to pass to a stubbed implementation Groovy Eclipse Stubbed Method Void methods cannot return a value