@@ -0,0 +1,1227 @@
+package com.googlecode.jslint4java.cli;%0A%0Aimport static org.hamcrest.CoreMatchers.*;%0Aimport static org.junit.Assert.*;%0A%0Aimport java.nio.charset.Charset;%0Aimport java.nio.charset.UnsupportedCharsetException;%0A%0Aimport org.junit.Test;%0A%0Aimport com.beust.jcommander.ParameterException;%0A%0Apublic class CharsetConverterTest %7B%0A%0A    private static final String UNKNOWN_CHARSET_NAME = %22bob%22;%0A    private final CharsetConverter cc = new CharsetConverter();%0A%0A    @Test%0A    public void testConvert() throws Exception %7B%0A        assertThat(cc.convert(%22UTF-8%22), is(Charset.forName(%22UTF-8%22)));%0A    %7D%0A%0A    @Test(expected = ParameterException.class)%0A    public void testIllegalCharsetName() throws Exception %7B%0A        cc.convert(%22!@#$%25%5E&*(%22);%0A    %7D%0A%0A    @Test(expected = ParameterException.class)%0A    public void testUnknownCharset() throws Exception %7B%0A        // We only want to run this test if we can guarantee that the charset _doesn't_ exist in the%0A        // system first. Otherwise, we'll just have to ignore this test.%0A        try %7B%0A            Charset.forName(UNKNOWN_CHARSET_NAME);%0A        %7D catch (UnsupportedCharsetException e) %7B%0A            // We're good to run the test.%0A            cc.convert(UNKNOWN_CHARSET_NAME);%0A        %7D%0A    %7D%0A%0A%7D%0A

Add a test for CharsetConverter.