Class FraudCheckIntegrationTest.AbstractAssertionLooper

java.lang.Object
de.hybris.platform.yacceleratorfulfilmentprocess.test.FraudCheckIntegrationTest.AbstractAssertionLooper
Enclosing class:
FraudCheckIntegrationTest

protected abstract static class FraudCheckIntegrationTest.AbstractAssertionLooper extends Object
Auxiliary class which provide waiting till condition is fulfilled functionality. User have to implement checkCondition() method
  • Constructor Details

    • AbstractAssertionLooper

      protected AbstractAssertionLooper()
  • Method Details

    • checkCondition

      protected abstract void checkCondition()
      Abstract method which should contain condition(s) which we want to check.
    • waitUntilConditionIsTrue

      public void waitUntilConditionIsTrue(long maxTimeInSeconds)
      Wait until condition defined in checkCondition() is fulfilled, but no more than maxTimeInSeconds. If condition is not fulfilled, AssertionFailedError will be thrown.
      Parameters:
      maxTimeInSeconds -