@Test
public void testBuildConfigParameters() throws Exception {
Options options = ConsoleFrontEnd.buildOptions();
CommandLineParser parser = new GnuParser();
ConfigParameters configParameters;
CommandLine commandLine;
commandLine = parser.parse(options, testArgs);
configParameters = frontEnd
.buildConfigParameters(commandLine, options);
assertEquals(15, configParameters.getFromRevision());
assertEquals(25, configParameters.getToRevision());
assertEquals("serge", configParameters.getUsername());
assertEquals("secret", configParameters.getPassword());
assertEquals("out-dir", configParameters.getOutputDirectory());
assertEquals("http://myrepo.com", configParameters.getRepoUrl());
assertEquals("include-me", configParameters.getInclude());
assertEquals("exclude-me", configParameters.getExclude());
}