Catel.Test.Extensions.EntityFramework5.Data.EfConnectionStringHelperFacts.TheGetEntityFrameworkConnectionStringMethod.ThrowsArgumentExceptionForNullAndEmptyConnectionString C# (CSharp) Method

ThrowsArgumentExceptionForNullAndEmptyConnectionString() private method

            public void ThrowsArgumentExceptionForNullAndEmptyConnectionString()
            {
                ExceptionTester.CallMethodAndExpectException<ArgumentException>(() => EfConnectionStringHelper.GetEntityFrameworkConnectionString(typeof(TestObjectContextContainer), null));
                ExceptionTester.CallMethodAndExpectException<ArgumentException>(() => EfConnectionStringHelper.GetEntityFrameworkConnectionString(typeof(TestObjectContextContainer), string.Empty));
            }