public async Task SaveBoolean()
        {
            await CreateApplicationMasterAsync();

            await currentDirectory.SaveAsync("boolTrue", true);

            await currentDirectory.SaveAsync("boolFalse", false);

            await currentDirectory.SaveNullAsync("boolNull", ValueDataType.Bool);

            Assert.IsTrue((await currentDirectory.GetBooleanAsync("boolTrue")).Value);
            Assert.IsFalse((await currentDirectory.GetBooleanAsync("boolFalse")).Value);
            Assert.IsNull((await currentDirectory.GetBooleanAsync("boolNull")));
        }
        public async Task CopyDirectoryMasterAsync()
        {
            await CreateDirectoryMasterAsync();

            try
            {
                string newName = Util.RandomString();

                string directoryDescription = currentDirectory.Description;

                string settingsKey  = "Sample";
                bool   settingValue = true;

                await currentDirectory.SaveAsync(settingsKey, settingValue);

                await settingsManager.CopyDirectoryAsync(currentApplicationName, currentDirectory.Name, newName);

                currentDirectory = await settingsManager.OpenDirectoryAsync(currentApplicationName, newName);

                Assert.AreEqual(newName, currentDirectory.Name);
                Assert.AreEqual(directoryDescription, currentDirectory.Description);
                Assert.IsTrue(await currentDirectory.Exists(settingsKey));
                Assert.IsTrue((await currentDirectory.GetBooleanAsync(settingsKey)).Value);
            }
            catch (SettingsException ex)
            {
                Assert.Fail(ex.Message);
            }
        }
        public async Task CopyDirectoryMasterAsync()
        {
            await CreateDirectoryMasterAsync();

            try
            {
                string newName = Util.RandomString();

                string directoryDescription = currentDirectory.Description;

                string settingsKey = "Sample";
                bool settingValue = true;

                await currentDirectory.SaveAsync(settingsKey, settingValue);
                await settingsManager.CopyDirectoryAsync(currentApplicationName, currentDirectory.Name, newName);
                currentDirectory = await settingsManager.OpenDirectoryAsync(currentApplicationName, newName);

                Assert.AreEqual(newName, currentDirectory.Name);
                Assert.AreEqual(directoryDescription, currentDirectory.Description);
                Assert.IsTrue(await currentDirectory.Exists(settingsKey));
                Assert.IsTrue((await currentDirectory.GetBooleanAsync(settingsKey)).Value);

            }
            catch (SettingsException ex)
            {
                Assert.Fail(ex.Message);
            }
        }