MZmineCore.getCurrentProject().removePeakList(peakList);
File batchFile = new File(
"src/test/resources/deconvolutedanalysis/massdetection_set1.xml");
Assert.assertTrue(batchFile.exists());
ExitCode exitCode = BatchModeModule.runBatch(batchFile);
assert (exitCode == ExitCode.OK);
assert (MZmineCore.getCurrentProject().getPeakLists().length > 0);
PeakList peakList = MZmineCore.getCurrentProject().getPeakLists()[0];