PlayerType implements WordType<Player> { @Override public List<String> getExamples() { return EXAMPLES; } PlayerType(); @Override Player parse(StringReader reader); @Override CompletableFuture<Suggestions> listSuggestions(S source, CommandContext<S> context, SuggestionsBuilder builder); @Override List<String> getExamples();  }
@Test void getExamples() { assertEquals(List.of("Bob", "Pante"), type.getExamples()); }