ModelBuilder.UnitTests.DefaultExecuteStrategyTests.CreateWithThrowsExceptionWhenNotInitializedTest C# (CSharp) Method

CreateWithThrowsExceptionWhenNotInitializedTest() private method

private CreateWithThrowsExceptionWhenNotInitializedTest ( ) : void
return void
        public void CreateWithThrowsExceptionWhenNotInitializedTest()
        {
            var target = new DefaultExecuteStrategy();

            Action action = () => target.CreateWith(typeof(Person));

            action.ShouldThrow<InvalidOperationException>();
        }
DefaultExecuteStrategyTests