question: public final void testAddAllHelperTextsFromArray ( ) { CharSequence helperText1 = "helperText1" ; CharSequence helperText2 = "helperText2" ; CharSequence [ ] helperTexts1 = new CharSequence [ 2 ] ; helperTexts1 [ 0 ] = helperText1 ; helperTexts1 [ 1 ] = helperText2 ; PasswordEditText passwordEditText = new PasswordEditText ( getContext ( ) ) ; passwordEditText . addAllHelperTexts ( helperTexts1 ) ; passwordEditText . addAllHelperTexts ( helperTexts1 ) ; Collection < CharSequence > helperTexts2 = passwordEditText . getHelperTexts ( ) ; assertEquals ( helperTexts1 . length , helperTexts2 . size ( ) ) ; Iterator < CharSequence > iterator = helperTexts2 . iterator ( ) ; assertEquals ( helperText1 , iterator . next ( ) ) ; assertEquals ( helperText2 , iterator . next ( ) ) ; }
target:  Tests the functionality of the method, which allows to add all helper texts, which are contained by an array.