public void testPropertyShortcuts() {
JsProposalBuilder jsProposalBuilder = new JsProposalBuilder();
CompletionContext<JsState> context = new CompletionContext<JsState>(
"console.", "deb", false, CompletionType.PROPERTY, null, 0);
JsonStringSet prefixes = JsonCollections.createStringSet();
prefixes.add("console.");
prefixes.add("Tofu.console.");
jsProposalBuilder.addShortcutsTo(context, prefixes);
assertEquals(JsonCollections.createStringSet("console.", "Tofu.console.", "window.console."),
prefixes);
}