Mockito: Stub/Spy vs Mock Mockito: Unterschied doReturn ... when und when ... thenReturn Analyze Stacktrace in Intellj JDK und IDE