public void setInput ( int index , InputStream is ) { if ( index >= inputStreams . length ) { inputStreams = Arrays . copyOf ( inputStreams , index + 1 ) ; } this . inputStreams [ index ] = is ; }
Sets the input streams for the expect instance .