@Test
public void testBuildInfoCommand() throws CruiseControlException {

    svn.setLocalWorkingCopy(".");
    String[] expectedCmd = { "svn", "info", "--xml" };
    String[] actualCmd = svn.buildInfoCommand(null).getCommandline();
    assertThat(actualCmd, equalTo(expectedCmd));
    expectedCmd = new String[] { "svn", "info", "--xml", "foo" };
    actualCmd = svn.buildInfoCommand("foo").getCommandline();
    assertThat(actualCmd, equalTo(expectedCmd));
}