question: public final TestSubscriber assertValueCount ( int count ) { String prefix = "" ; boolean passed = true ; if ( done . getCount ( ) != 0 ) { prefix = "Subscriber still running! " ; } int s = values . size ( ) ; if ( s != count ) { fail ( prefix , "Value counts differ; Expected: " + count + ", Actual: " + s , errors ) ; fail ( "Value counts differ; Expected: " + count + ", Actual: " + s ) ; passed = false ; } pass ( "received " + count + " values" , passed ) ; return this ; }
target:  Assert that this TestSubscriber received the specified number onNext events.