ModelBuilder.UnitTests.BuildStrategyCompilerExtensionsTests.AddIgnoreRuleThrowsExceptionWithNullCompilerTest C# (CSharp) Метод

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

private AddIgnoreRuleThrowsExceptionWithNullCompilerTest ( ) : void
Результат void
        public void AddIgnoreRuleThrowsExceptionWithNullCompilerTest()
        {
            IBuildStrategyCompiler target = null;

            Action action = () => target.AddIgnoreRule<DummyIgnoreRule>();

            action.ShouldThrow<ArgumentNullException>();
        }
BuildStrategyCompilerExtensionsTests