Class CxOccTimeVoterTest

java.lang.Object
de.hybris.platform.personalizationservices.voters.impl.CxOccTimeVoterTest

@UnitTest public class CxOccTimeVoterTest extends Object
  • Field Details

    • OCC_TTL

      public static final Long OCC_TTL
    • CURRENT_TIME

      public static final Long CURRENT_TIME
  • Constructor Details

    • CxOccTimeVoterTest

      public CxOccTimeVoterTest()
  • Method Details

    • 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()