question: public void testGetRandomNonAccentColor ( ) { List < Integer > nonAccentColorList = new ArrayList < > ( ) ; try { for ( String name : MaterialPalettes . ALL_COLOR_NAMES ) { nonAccentColorList . addAll ( MaterialPalettes . getColorsByName ( name , false ) ) ; } int randomColor = MaterialPalettes . getRandomNonAccentColor ( ) ; assertTrue ( nonAccentColorList . contains ( randomColor ) ) ; } catch ( IllegalAccessException iae ) { fail ( ) ; } }
target:  Tests that the color returned by getRandomNonAccent color exists in the non accent colors.