ScopeTrieBuilder builder = setupBuilder();
ProposalBuilder<State> proposalBuilder = new MockProposalBuilder();
CompletionContext<State> context = new CompletionContext<State>(
"", "", true, CompletionType.PROPERTY, null, 0);
Position cursor = new Position(Document.createEmpty().getFirstLineInfo(), LAST_COLUMN + 2);
assertTrue(proposalBuilder.doGetProposals(context, cursor, builder).isEmpty());
context = new CompletionContext<State>(
OBJECT_1 + ".", "", true, CompletionType.PROPERTY, null, 0);
cursor = new Position(Document.createEmpty().getFirstLineInfo(), LAST_COLUMN + 2);
assertFalse(proposalBuilder.doGetProposals(context, cursor, builder).isEmpty());
}