### Question:
CompletionSortTextHelper { public String next() { i++; return base + Integer.toString(i); } CompletionSortTextHelper(CompletionItemKind kind); String next(); String next(CompletionItemKind kind); static String getSortText(CompletionItemKind kind);  }### Answer:
@Test public void testCompletionSortTextHelperProperty() { CompletionSortTextHelper sort = new CompletionSortTextHelper(CompletionItemKind.Property); assertEquals("aa1", sort.next()); assertEquals("aa2", sort.next()); assertEquals("aa3", sort.next()); }
@Test public void testCompletionSortTextHelperFile() { CompletionSortTextHelper sort = new CompletionSortTextHelper(CompletionItemKind.File); assertEquals("ab1", sort.next()); assertEquals("ab2", sort.next()); assertEquals("ab3", sort.next()); }