AvailableCharsets { public Set<String> getCharsets() { return charsets; } AvailableCharsets(final String defaultCharset); Set<String> getCharsets(); boolean isSupported(final String charset); String getDefaultCharset();  }
@Test public void testGetCharsets() throws Exception { final AvailableCharsets availableCharsets = new AvailableCharsets("UTF-8"); assertFalse(availableCharsets.getCharsets().isEmpty()); }