private void testCommandLine( String scmUrl, File workingDirectory, File exportDirectory, String commandLine )
throws Exception
{
ScmRepository repository = getScmManager().makeScmRepository( scmUrl );
SvnScmProviderRepository svnRepository = (SvnScmProviderRepository) repository.getProviderRepository();
Commandline cl = SvnExeExportCommand.createCommandLine( svnRepository, exportDirectory, null, scmUrl,
exportDirectory != null?exportDirectory.getAbsolutePath():null );
assertCommandLine( commandLine, exportDirectory, cl );