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

CreateThrowsExceptionWhenNotInitializedTest() private method

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

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

            action.ShouldThrow<InvalidOperationException>();
        }
DefaultExecuteStrategyTests