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

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

private AddWithPostBuildActionThrowsExceptionWithNullRuleTest ( ) : void
Результат void
        public void AddWithPostBuildActionThrowsExceptionWithNullRuleTest()
        {
            var target = Substitute.For<IBuildStrategyCompiler>();

            Action action = () => target.Add((IPostBuildAction) null);

            action.ShouldThrow<ArgumentNullException>();
        }
BuildStrategyCompilerExtensionsTests