@Test public void testCompletionSortTextHelperProperty() { CompletionSortTextHelper sort = new CompletionSortTextHelper(CompletionItemKind.Property); assertEquals("aa1", sort.next()); assertEquals("aa2", sort.next()); assertEquals("aa3", sort.next()); }
public String next() { i++; return base + Integer.toString(i); }
CompletionSortTextHelper { public String next() { i++; return base + Integer.toString(i); } }
CompletionSortTextHelper { public String next() { i++; return base + Integer.toString(i); } CompletionSortTextHelper(CompletionItemKind kind); }
CompletionSortTextHelper { public String next() { i++; return base + Integer.toString(i); } CompletionSortTextHelper(CompletionItemKind kind); String next(); String next(CompletionItemKind kind); static String getSortText(CompletionItemKind kind); }
CompletionSortTextHelper { public String next() { i++; return base + Integer.toString(i); } CompletionSortTextHelper(CompletionItemKind kind); String next(); String next(CompletionItemKind kind); static String getSortText(CompletionItemKind kind);  }