public void ConstructCommandLineArguments_ParseSwitch_LoggingTrue()
        {
            CommandLineArguments <SingleSwitchOptionsTest> arguments = CommandLineArguments <SingleSwitchOptionsTest> .Setup();

            SingleSwitchOptionsTest args = arguments.Parse("-EnableLog");

            Assert.IsTrue(args.EnableLogging, "The enable logging option should be true as switch is set.");
        }
        public void ConstructCommandLineArguments_ParseEmpty_InstanceCreated()
        {
            CommandLineArguments <SingleSwitchOptionsTest> arguments = CommandLineArguments <SingleSwitchOptionsTest> .Setup();

            SingleSwitchOptionsTest args = arguments.Parse(null);

            Assert.IsNotNull(args, "Expected an args object to be created.");
        }
        public void ConstructCommandLineArguments_ParseEmpty_InstanceCreated_DefaultNonNullableBoolean()
        {
            CommandLineArguments <SingleSwitchOptionsTest> arguments = CommandLineArguments <SingleSwitchOptionsTest> .Setup();

            SingleSwitchOptionsTest args = arguments.Parse(null);

            Assert.IsFalse(args.EnableLogging, "The enable logging option should be false by default.");
        }