Searched refs:cannotStubVoidMethodWithAReturnValue (Results 1 – 2 of 2) sorted by relevance
13 import static org.mockito.internal.exceptions.Reporter.cannotStubVoidMethodWithAReturnValue;33 throw cannotStubVoidMethodWithAReturnValue(invocationInfo.getMethodName()); in validateFor()
446 public static MockitoException cannotStubVoidMethodWithAReturnValue(String methodName) { in cannotStubVoidMethodWithAReturnValue() method in Reporter