assertEquals("xyz" + File.separator + "sipx-snapshot --no-logs --credentials --no-www",
assertEquals("xyz" + File.separator + "sipx-snapshot --no-logs --credentials --no-www sipx-configuration.tar.gz",
    public void testGetCmdLine() {        Snapshot snapshot = new Snapshot();        String cmdLine = StringUtils.join(snapshot.getCmdLine(""), ' ');        assertEquals(File.separator + "sipx-snapshot", cmdLine);        snapshot.setCredentials(true);        snapshot.setWww(false);        cmdLine = StringUtils.join(snapshot.getCmdLine(""), ' ');        assertEquals(File.separator + "sipx-snapshot --credentials --no-www", cmdLine);        snapshot.setLogs(false);        cmdLine = StringUtils.join(snapshot.getCmdLine("xyz"), ' ');        assertEquals("xyz" + File.separator + "sipx-snapshot --no-logs --credentials --no-www",                cmdLine);    }