question: @ SafeVarargs public final TestSubscriber < T > assertValuesWith ( Consumer < T > ... expectations ) { if ( ! valuesStorage ) { throw new IllegalStateException ( "Using assertNoValues() requires enabling values storage" ) ; } final int expectedValueCount = expectations . length ; if ( expectedValueCount != values . size ( ) ) { throw new AssertionError ( "Different value count: expected = " + expectedValueCount + ", actual = " + valueCount , null ) ; } for ( int i = 0 ; i < expectedValueCount ; i ++ ) { Consumer < T > consumer = expectations [ i ] ; T actualValue = values . get ( i ) ; consumer . accept ( actualValue ) ; } return this ; }
target:  Assert the specified values have been received in the declared order. Values storage should be enabled to use this method.