void () { final PreferencesRegistry preferencesRegistry = loadPreferences(TestUtil.PREFERENCES_TEST_BUNDLE); final Preferences preferences = mergeAll(preferencesRegistry.getPreferences(TestUtil.scopeFromString("same.scope"))); assertEquals(newHashSet(new TextMateAutoClosingPair("[", "]", null), new TextMateAutoClosingPair("(", ")", null)), preferences.getSmartTypingPairs()); }