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