Catel.Test.Configuration.ConfigurationServiceFacts.TheSetValueMethod.ThrowsArgumentExceptionForNullKey C# (CSharp) 메소드

ThrowsArgumentExceptionForNullKey() 개인적인 메소드

private ThrowsArgumentExceptionForNullKey ( ConfigurationContainer container ) : void
container ConfigurationContainer
리턴 void
            public void ThrowsArgumentExceptionForNullKey(ConfigurationContainer container)
            {
                var configurationService = GetConfigurationService();

                ExceptionTester.CallMethodAndExpectException<ArgumentException>(() => configurationService.SetValue(container, null, "value"));
            }