assertEquals("variable set", createStringSet("aaa", "bbb"), createNameSet(proposals));
}
private MockAutocompleterEnvironment configureHelper(String text) {
final MockAutocompleterEnvironment helper = new MockAutocompleterEnvironment();
helper.setup(new PathUtil("foo.js"), text, 0, 0, true);
analyzer = new ParsingTask(helper.autocompleter.localPrefixIndexStorage);
JsonArray<IncrementalScheduler.Task> parseRequests = helper.parseScheduler.requests;
assertEquals("parsing not scheduled initially", 0, parseRequests.size());