void () { PreferencesRegistry preferencesRegistry = loadPreferences(TestUtil.LATEX); TextMateScope scope = TestUtil.scopeFromString("text.tex constant.character.escape.tex"); Preferences preferences = preferencesRegistry.getPreferences(scope).iterator().next(); @Nullable Set<TextMateAutoClosingPair> smartTypingPairs = preferences.getSmartTypingPairs(); assertNotNull(smartTypingPairs); assertEquals(0, smartTypingPairs.size()); }