| 12345678910111213141516 |
- -------------------------------------------------------------------------------
- Test set: com.etotem.cfc.integration.DailyCheckinStreakFlowTest
- -------------------------------------------------------------------------------
- Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 77.279 s <<< FAILURE! - in com.etotem.cfc.integration.DailyCheckinStreakFlowTest
- childDeletesCheckin_Success Time elapsed: 0.009 s <<< ERROR!
- org.mockito.exceptions.base.MockitoException:
- Only void methods can doNothing()!
- Example of correct use of doNothing():
- doNothing().
- doThrow(new RuntimeException())
- .when(mock).someVoidMethod();
- Above means:
- someVoidMethod() does nothing the 1st time but throws an exception the 2nd time is called
- at com.etotem.cfc.integration.DailyCheckinStreakFlowTest.childDeletesCheckin_Success(DailyCheckinStreakFlowTest.java:254)
|