GherkinDialectProvider implements IGherkinDialectProvider { @Override public List<String> getLanguages() { List<String> languages = new ArrayList<>(DIALECTS.names()); sort(languages); return unmodifiableList(languages); } GherkinDialectProvider(String defaultDialectName);  GherkinDialectProvider(); GherkinDialect getDefaultDialect(); @Override GherkinDialect getDialect(String language, Location location); @Override List<String> getLanguages(); static final String JSON_PATH; }
@Test public void provides_language_list() { List<String> languages = new GherkinDialectProvider().getLanguages(); assertTrue(languages.contains("en")); }