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

ThrowsExceptionWhenCreatedWithNullFunctionTest() private method

private ThrowsExceptionWhenCreatedWithNullFunctionTest ( ) : void
return void
        public void ThrowsExceptionWhenCreatedWithNullFunctionTest()
        {
            var priority = Environment.TickCount;

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

            action.ShouldThrow<ArgumentNullException>();
        }