public void CreateRampPackageWithSessionArchiveAndMetsFile_CreatesRampPackage() { TemporaryFolder tmpFolder = new TemporaryFolder("ArchiveHelperTestFolder"); try { string fileName = Path.Combine(tmpFolder.Path, "ddo.session"); File.CreateText(fileName).Close(); var fileList = new[] { Path.Combine(tmpFolder.Path, "ddo.session") }; _filesToAdd.Add(string.Empty, new Tuple <IEnumerable <string>, string>(fileList, "Message to display.")); _helper.Initialize(); _helper.CreateMetsFile(); Assert.IsTrue(_helper.CreateRampPackage()); Assert.IsTrue(File.Exists(_helper.PackagePath)); } finally { tmpFolder.Dispose(); } }