question: public final void testAddAllHelperTextColorsFromCollection ( ) { int helperTextColor1 = Color . BLACK ; int helperTextColor2 = Color . GRAY ; Collection < Integer > helperTextColors1 = new LinkedList < > ( ) ; helperTextColors1 . add ( helperTextColor1 ) ; helperTextColors1 . add ( helperTextColor2 ) ; PasswordEditText passwordEditText = new PasswordEditText ( getContext ( ) ) ; passwordEditText . addAllHelperTextColors ( helperTextColors1 ) ; passwordEditText . addAllHelperTextColors ( helperTextColors1 ) ; Collection < Integer > helperTextColors2 = passwordEditText . getHelperTextColors ( ) ; assertEquals ( helperTextColors1 . size ( ) , helperTextColors2 . size ( ) ) ; Iterator < Integer > iterator = helperTextColors2 . iterator ( ) ; assertEquals ( helperTextColor1 , ( int ) iterator . next ( ) ) ; assertEquals ( helperTextColor2 , ( int ) iterator . next ( ) ) ; }
target:  Tests the functionality of the method, which allows to add all helper text colors, which are contained by a collection.