public void verify(){
  if (!mReplaying) {
    throw new IllegalStateException("Did you forget to call replay()");
  }
  if (mExpectedInterrupt) {
    throw new IllegalStateException("Expected call to #interrupt() not received");
  }
  if (!mExpectedEvents.isEmpty()) {
    throw new IllegalStateException("Expected a call to onAccessibilityEvent() for " + "events \"" + mExpectedEvents + "\" not received");
  }
}

public void verify ( ) { if ( ! mReplaying ) { throw new IllegalStateException ( "Did you forget to call replay()" ) ; } if ( mExpectedInterrupt ) { throw new IllegalStateException ( "Expected call to #interrupt() not received" ) ; } if ( ! mExpectedEvents . isEmpty ( ) ) { throw new IllegalStateException ( "Expected a call to onAccessibilityEvent() for " + "events \"" + mExpectedEvents + "\" not received" ) ; } }
verifies if all expected service methods have been called .
