public void TestGetFilesSourceAppPath()
        {
            EmbedFile embedFile = new EmbedFile();

            embedFile.sourcefilepath = @"#APPPATH\InstallerLibUnitTests.dll";
            embedFile.targetfilepath = @"#APPPATH\InstallerLibUnitTests.dll";
            string supportdir = Environment.CurrentDirectory;
            Dictionary <string, EmbedFileCollection> embedFileCollection = embedFile.GetFiles(string.Empty, supportdir);

            Assert.AreEqual(1, embedFileCollection.Count);
            Assert.AreEqual(Path.Combine(Environment.CurrentDirectory, "InstallerLibUnitTests.dll"), embedFileCollection[string.Empty][0].fullpath);
            Assert.AreEqual("InstallerLibUnitTests.dll", embedFileCollection[string.Empty][0].relativepath);
        }
        public void TestGetFilesNoTargetPath()
        {
            EmbedFile embedFile = new EmbedFile();

            embedFile.sourcefilepath = Path.Combine(Environment.CurrentDirectory, @"InstallerLibUnitTests.dll");
            string supportdir = @"C:\SupportFiles\SupportFile";
            Dictionary <string, EmbedFileCollection> embedFileCollection = embedFile.GetFiles(string.Empty, supportdir);

            Assert.AreEqual(1, embedFileCollection.Count);
            Assert.AreEqual(1, embedFileCollection[string.Empty].Count);
            Assert.AreEqual(embedFile.sourcefilepath, embedFileCollection[string.Empty][0].fullpath);
            Assert.AreEqual(@"InstallerLibUnitTests.dll", embedFileCollection[string.Empty][0].relativepath);
        }