org.mockito.exceptions.verification.TooLittleActualInvocations: stateRepository.getFeatureState(TEST); Wanted 5 times:

Google Groups | Richard Steele | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Erratic test failure in CachingStateRepositoryTest.testCacheExpiryBecauseOfTimeToLife

    Google Groups | 2 years ago | Richard Steele
    org.mockito.exceptions.verification.TooLittleActualInvocations: stateRepository.getFeatureState(TEST); Wanted 5 times:

    Root Cause Analysis

    1. org.mockito.exceptions.verification.TooLittleActualInvocations

      stateRepository.getFeatureState(TEST); Wanted 5 times:

      at org.togglz.core.repository.cache.CachingStateRepositoryTest.testCacheExpiryBecauseOfTimeToLife()
    2. org.togglz.core
      CachingStateRepositoryTest.testCacheExpiryBecauseOfTimeToLife
      1. org.togglz.core.repository.cache.CachingStateRepositoryTest.testCacheExpiryBecauseOfTimeToLife(CachingStateRepositoryTest.java:105)
      1 frame