ModelBuilder.UnitTests.ExecuteOrderRuleTests.ThrowsExceptionWhenCreatedWithNullTypeAndRegularExpressionTest C# (CSharp) Method

ThrowsExceptionWhenCreatedWithNullTypeAndRegularExpressionTest() private method

        public void ThrowsExceptionWhenCreatedWithNullTypeAndRegularExpressionTest()
        {
            var priority = Environment.TickCount;

            Action action = () => new ExecuteOrderRule(null, (Regex)null, priority);

            action.ShouldThrow<ArgumentNullException>();
        }
    }