void () { final PreferencesRegistry preferencesRegistry = loadPreferences(TestUtil.PREFERENCES_TEST_BUNDLE); final List<Preferences> preferences = preferencesRegistry.getPreferences(TestUtil.scopeFromString("text.html.basic")); assertEquals(1, preferences.size()); assertEquals(newHashSet(new TextMateAutoClosingPair("\"", "\"", null)), preferences.get(0).getSmartTypingPairs()); assertEquals(newHashSet(new TextMateBracePair("`", "`")), preferences.get(0).getHighlightingPairs()); }