ModelBuilder.UnitTests.EnumerableTypeCreatorTests.CreateChildItemThrowsExceptionWithNullExecuteStrategyTest C# (CSharp) Method

CreateChildItemThrowsExceptionWithNullExecuteStrategyTest() private method

        public void CreateChildItemThrowsExceptionWithNullExecuteStrategyTest()
        {
            var person = new Person();

            var target = new EnumerableTypeCreatorWrapper();

            Action action = () => target.CreateItem(typeof(Person), null, person);

            action.ShouldThrow<ArgumentNullException>();
        }