public void LoadFromString_WithInvalidInput_ShouldThrow(string str, Type expectedException)
        {
            var    option     = new UseNoDefaultValuesOption();
            Action testAction = () => option.LoadFromString(str);

            testAction.ShouldThrow(expectedException);
        }
        public void LoadFromString_WithValidInput_StringValueShouldEqualInput(string str)
        {
            var option = new UseNoDefaultValuesOption();

            option.LoadFromString(str);

            option.GetStringValue().ShouldBe(str);
        }
        public void LoadFromString_WithValidInput_ValueShouldEqualInput(string str, bool isSet)
        {
            var option = new UseNoDefaultValuesOption();

            option.LoadFromString(str);

            option.Value.ShouldBe(isSet);
        }