question: public void testGetAllColors ( ) { int expectedCount = ( MaterialPalettes . ALL_COLOR_NAMES . length * MaterialPalettes . NON_ACCENT_COLOR_LEVELS . length ) + ( MaterialPalettes . COLORS_WITH_ACCENT_NAMES . length * MaterialPalettes . ACCENT_COLOR_LEVELS . length ) ; try { List < Integer > colorList = MaterialPalettes . getAllColors ( ) ; assertEquals ( expectedCount , colorList . size ( ) ) ; } catch ( IllegalAccessException iae ) { fail ( ) ; } }
target:  Tests to ensure getAllColors returns the proper count.