We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
UnfinishedStubbingException
1 parent 7764992 commit 3a631cbCopy full SHA for 3a631cb
mockito-core/src/main/java/org/mockito/internal/exceptions/Reporter.java
@@ -98,7 +98,7 @@ public static MockitoException unfinishedStubbing(Location location) {
98
"Hints:",
99
" 1. missing thenReturn()",
100
" 2. you are trying to stub a final method, which is not supported",
101
- " 3. you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed",
+ " 3. you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed, possibly on another thread",
102
""));
103
}
104
0 commit comments