com.etotem.cfc.integration.DailyCheckinStreakFlowTest.txt 868 B

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