public void GetConfigValue_WhenSettingIdIsWhitespace_ThrowsArgumentNullException()
        {
            // Arrange
            Action action = () => ConfigSettingsExtensions.GetConfigValue(new AnalysisConfig(), "   ", "bar");

            // Act & Assert
            action.ShouldThrowExactly <ArgumentNullException>().And.ParamName.Should().Be("settingId");
        }
        public void GetConfigValue_WhenConfigIsNull_ThrowsArgumentNullException()
        {
            // Arrange
            Action action = () => ConfigSettingsExtensions.GetConfigValue(null, "foo", "bar");

            // Act & Assert
            action.ShouldThrowExactly <ArgumentNullException>().And.ParamName.Should().Be("config");
        }