@Test
public void convertingUsingConverter() throws Exception {

    OptionSpec<Date> date = parser.nonOptions().withValuesConvertedBy( datePattern( "MM/dd/yyyy" ) );
    OptionSet options = parser.parse( "01/24/2013" );
    assertEquals(
        singletonList( new SimpleDateFormat( "MM/dd/yyyy" ).parse( "01/24/2013" ) ),
        date.values( options ) );
}