public void TestMultipleIntances()
        {
            var tmpDir = new DirectoryInfo("Tmp");

            if (tmpDir.Exists)
            {
                tmpDir.Delete(true);
                Thread.Sleep(100);
            }

            var serializer = new SettingsSerializer();

            serializer.SaveJson(_settings, @"Tmp\settings.json");

            SerializeTests.CompareJsons(@"Data\SerializationDeep2\ExpectedSettings.json", @"Tmp\settings.json");
            SerializeTests.CompareJsons(@"Data\SerializationDeep2\Ext0000.json", @"Tmp\Ext0000.json");
            SerializeTests.CompareBytes(@"Data\SerializationDeep2\Data0001.bin", @"Tmp\Data0001.bin");
            SerializeTests.CompareBytes(@"Data\SerializationDeep2\Data0002.bin", @"Tmp\Data0002.bin");
        }
        public void TestMultipleIntancesZip()
        {
            var tmpDir = new DirectoryInfo("Tmp");

            if (tmpDir.Exists)
            {
                tmpDir.Delete(true);
                Thread.Sleep(100);
            }

            var serializer = new SettingsSerializer();

            serializer.SaveZip(_settings, @"Tmp.zip");

            ZipFile.ExtractToDirectory("Tmp.zip", "Tmp");

            SerializeTests.CompareJsons(@"Data\SerializationDeep2\Main.json", @"Tmp\Main.json");
            SerializeTests.CompareJsons(@"Data\SerializationDeep2\Ext0000Zip.json", @"Tmp\Ext0000.json");
            SerializeTests.CompareBytes(@"Data\SerializationDeep2\Data0001.bin", @"Tmp\Data0001.bin");
            SerializeTests.CompareBytes(@"Data\SerializationDeep2\Data0002.bin", @"Tmp\Data0002.bin");
        }