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

ThrowsExceptionWhenCreatedWithNullTypeAndNameTest() private method

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

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

            action.ShouldThrow<ArgumentNullException>();
        }