private void testCommandLine( String scmUrl, ScmBranch branch, Date startDate, Date endDate,
ScmVersion startVersion, ScmVersion endVersion, String commandLine )
throws Exception
{
ScmRepository repository = getScmManager().makeScmRepository( scmUrl );
GitScmProviderRepository gitRepository = (GitScmProviderRepository) repository.getProviderRepository();
Commandline cl = GitChangeLogCommand.createCommandLine( gitRepository, workingDirectory, branch, startDate, endDate,
startVersion, endVersion );
assertCommandLine( commandLine, workingDirectory, cl );