private CompressedIo OpenArchive(string path)
        {
            var          ext = path.Split('.').Last().ToLower();
            CompressedIo archive;

            try
            {
                switch (ext)
                {
                case "iso":
                    archive = new CdIo(path);
                    break;

                case "zip":
                    archive = new ZipArchiveIo(path);
                    break;

                case "rootpath":
                    archive = new RawDir(path);
                    break;

                default:
                    throw new ApplicationException("Not supported type of file.");
                }
            }
            catch (Exception)
            {
                throw;
            }
            return(archive);
        }
        public void FullPathRaw()
        {
            Assert.IsFalse(RawDir.EndsWith(@"\"));
            var actual   = _sut.GetFullPath_In("a.zip");
            var expected = Path.Combine(RawDir, "a.zip");

            Assert.AreEqual(expected, actual);
        }