Class CxOccTimeVoterTest


  • @UnitTest
    public class CxOccTimeVoterTest
    extends java.lang.Object
    • Field Detail

      • OCC_TTL

        public static final java.lang.Long OCC_TTL
      • CURRENT_TIME

        public static final java.lang.Long CURRENT_TIME
    • Constructor Detail

      • CxOccTimeVoterTest

        public CxOccTimeVoterTest()
    • Method Detail

      • setupMocks

        public void setupMocks()
      • shouldNotRecalculateWhenTTLNotPassed

        public void shouldNotRecalculateWhenTTLNotPassed()
      • shouldRecalculateWhenTTLPassedAndNoResultFound

        public void shouldRecalculateWhenTTLPassedAndNoResultFound()
      • shouldNotRecalculateWhenTTLPassedAndFreshResultFound

        public void shouldNotRecalculateWhenTTLPassedAndFreshResultFound()
      • shouldRecalculateWhenTTLPassedAndOldResultFound

        public void shouldRecalculateWhenTTLPassedAndOldResultFound()
      • shouldRecalculateWhenNoLastCalcTimeAndOldResultFound

        public void shouldRecalculateWhenNoLastCalcTimeAndOldResultFound()
      • shouldRecalculateWhenNoLastCalcTimeAndNoResultFound

        public void shouldRecalculateWhenNoLastCalcTimeAndNoResultFound()