Catel.Test.Configuration.ConfigurationServiceFacts.TheGetValueMethod.ThrowsArgumentExceptionForEmptyKey C# (CSharp) Метод

ThrowsArgumentExceptionForEmptyKey() приватный Метод

private ThrowsArgumentExceptionForEmptyKey ( ConfigurationContainer container ) : void
container ConfigurationContainer
Результат void
            public void ThrowsArgumentExceptionForEmptyKey(ConfigurationContainer container)
            {
                var configurationService = GetConfigurationService();

                ExceptionTester.CallMethodAndExpectException<ArgumentException>(() => configurationService.GetValue<string>(container, string.Empty));
            }