question: public final TestSubscriber assertValue ( Tuple < String , String > value ) { String prefix = "" ; boolean passed = true ; if ( done . getCount ( ) != 0 ) { prefix = "Subscriber still running! " ; } int s = values . size ( ) ; if ( s != 1 ) { fail ( prefix , "Expected: " + value + ", Actual: " + values , errors ) ; fail ( "value does not match" ) ; passed = false ; } Tuple < String , String > v = values . get ( 0 ) ; if ( ! Objects . equals ( value , v ) ) { fail ( prefix , "Expected: " + valueAndClass ( value ) + ", Actual: " + valueAndClass ( v ) , errors ) ; fail ( "value does not match" ) ; passed = false ; } pass ( "value matches" , passed ) ; return this ; }
target:  Assert that this TestSubscriber received exactly one onNext value which is equal to the given value with respect to Objects.equals.