question: 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" ) ; } }
target:  Verifies if all expected service methods have been called.