Class FraudCheckIntegrationTest.AbstractAssertionLooper

  • Enclosing class:
    FraudCheckIntegrationTest

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

      • AbstractAssertionLooper

        protected AbstractAssertionLooper()
    • Method Detail

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