Exemplo n.º 1
0
        public ApplicationDataTest()
        {
            storage = new DataTestStorage(true);
            Storage.Reset(() => storage);

            dataSettings = new ApplicationInfo("EyeSoft", "Test").Settings <Foo>(true);
        }
Exemplo n.º 2
0
        public void LoadProtecedDataOfNotExistingFileVerifyDataIsNull()
        {
            // ReSharper disable once RedundantAssignment
            var dataTestStorage = new DataTestStorage(false);

            Storage.Reset(() => dataTestStorage);

            dataSettings.Load().Should().BeNull();
        }
        public ApplicationInfoDataSettingsPathTest()
        {
            var storage = new DataTestStorage(true);

            Storage.Reset(() => storage);
        }