ModelBuilder.UnitTests.BuildStrategyCompilerExtensionsTests.AddIgnoreRuleThrowsExceptionWithNullCompilerTest C# (CSharp) Method

AddIgnoreRuleThrowsExceptionWithNullCompilerTest() private method

private AddIgnoreRuleThrowsExceptionWithNullCompilerTest ( ) : void
return void
        public void AddIgnoreRuleThrowsExceptionWithNullCompilerTest()
        {
            IBuildStrategyCompiler target = null;

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

            action.ShouldThrow<ArgumentNullException>();
        }
BuildStrategyCompilerExtensionsTests