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

RemoveIgnoreRuleThrowsExceptionWithNullCompilerTest() private method

        public void RemoveIgnoreRuleThrowsExceptionWithNullCompilerTest()
        {
            IBuildStrategyCompiler target = null;

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

            action.ShouldThrow<ArgumentNullException>();
        }
BuildStrategyCompilerExtensionsTests