public void AESRunWPFTest()
        {

            ICryption AEScipher = new AESEncryption();


            ILocalSettings tr = new wpfLocalSettings();
            ILocalSettings trOrginal = new wpfLocalSettings();
            ICryption cr = new noencryption();
            ISettingRepository dummyrepository = new DummyRepository(tr, cr);
            ISettingRepository dummyrepositoryorg = new DummyRepository(trOrginal, cr);
            ISettingRepository repositoryWPF = new WPFSettingRepository(tr, AEScipher);

            tr = dummyrepository.getdata();
            trOrginal = dummyrepositoryorg.getdata(); 
            repositoryWPF.saveData(tr);

            ILocalSettings returnData = repositoryWPF.getdata();
            Boolean isSame = true;
            int i = 0;
            //isSame = Enumerable.SequenceEqual(tr.icloudSettings.OrderBy(t => t), returnData.icloudSettings.OrderBy(t => t));
            isSame = trOrginal.icloudSettings.SequenceEqual(returnData.icloudSettings);
            i = trOrginal.icloudSettings.Except(returnData.icloudSettings).ToList().Count;
            Assert.Equals(i, 0);
        }
        public void savewpfRepository()
        {
            ILocalSettings tr = new   wpfLocalSettings();
            ICryption cr = new noencryption();
            ISettingRepository dummyrepository = new DummyRepository(tr, cr);
            ISettingRepository repositoryWPF = new WPFSettingRepository(tr, cr);



            repositoryWPF.saveData(dummyrepository.getdata());
            Assert.AreEqual("1", "1");
                        
        }