question: public final TestSubscriber assertComplete ( ) { String prefix = "" ; boolean passed = true ; if ( done . getCount ( ) != 0 ) { prefix = "Subscriber still running! " ; fail ( "subscriber still running" ) ; passed = false ; } long c = completions ; if ( c == 0 ) { fail ( prefix , "Not completed" , errors ) ; fail ( "not complete" ) ; passed = false ; } else if ( c > 1 ) { fail ( prefix , "Multiple completions: " + c , errors ) ; fail ( "multiple completes" ) ; passed = false ; } pass ( "assert Complete" , passed ) ; return this ; }
target:  Assert that this TestSubscriber received exactly one onComplete event.