@SuppressWarnings( { "ResultOfMethodCallIgnored" } )
public void testCharsetProvider()
throws Exception
{
SurefireLauncher unpack = unpack( "/surefire-162-charsetProvider" );
MavenLauncher maven = unpack.maven();
OutputValidator verifier = maven.getValidator();
File jarFile = maven.getArtifactPath( "jcharset", "jcharset", "1.2.1", "jar" );
File pomFile = maven.getArtifactPath( "jcharset", "jcharset", "1.2.1", "pom" );
jarFile.getParentFile().mkdirs();
FileUtils.copyFile( verifier.getSubFile( "repo/jcharset/jcharset/1.2.1/jcharset-1.2.1.jar" ), jarFile );
FileUtils.copyFile( verifier.getSubFile( "repo/jcharset/jcharset/1.2.1/jcharset-1.2.1.pom" ), pomFile );
unpack.executeTest().verifyErrorFree( 1 );
}