Ejemplo n.º 1
0
        public void CheckConfigGetVerboseOptionsToVerbose()
        {
            Options.IVerboseOptions option = new Options.AccountOptions();
            option.Verbose = true;
            var convertOption = new OptionConverter(new JsonDeserializer());

            convertOption.ConfigGetVerboseOptions(option);
            Assert.AreEqual(CLILogs.Verbose, CLILogs.LogsLevel.Debug);
            option.Verbose = true;
            option.Quiet   = true;
            convertOption.ConfigGetVerboseOptions(option);
            Assert.AreEqual(CLILogs.Verbose, CLILogs.LogsLevel.Debug);
        }