void () { String fontName = getExistingNonDefaultFontName(); myPreferences.register(fontName, 25); String fontName2 = getAnotherExistingNonDefaultFontName(); myPreferences.register(fontName2, 13); checkState(Arrays.asList(fontName, fontName2), Arrays.asList(fontName, fontName2), fontName, fontName, 25, fontName2, 13); }