ModelBuilder.UnitTests.BuildStrategyCompilerExtensionsTests.AddIgnoreRuleThrowsExceptionWithNullCompilerTest C# (CSharp) Méthode

AddIgnoreRuleThrowsExceptionWithNullCompilerTest() private méthode

private AddIgnoreRuleThrowsExceptionWithNullCompilerTest ( ) : void
Résultat void
        public void AddIgnoreRuleThrowsExceptionWithNullCompilerTest()
        {
            IBuildStrategyCompiler target = null;

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

            action.ShouldThrow<ArgumentNullException>();
        }
BuildStrategyCompilerExtensionsTests