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