ModelBuilder.UnitTests.CreationRuleTests.ThrowsExceptionWithNullTypeAndReferenceNameForReferenceNameAndCreatorConstructorTest C# (CSharp) Method

ThrowsExceptionWithNullTypeAndReferenceNameForReferenceNameAndCreatorConstructorTest() private method

        public void ThrowsExceptionWithNullTypeAndReferenceNameForReferenceNameAndCreatorConstructorTest()
        {
            Action action = () => new CreationRule(null, (string)null, 10, (type, referenceName, context) => null);

            action.ShouldThrow<ArgumentNullException>();
        }