ModelBuilder.UnitTests.DefaultExecuteStrategyTests.CreateWithThrowsExceptionWhenNotInitializedTest C# (CSharp) 메소드

CreateWithThrowsExceptionWhenNotInitializedTest() 개인적인 메소드

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

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

            action.ShouldThrow<InvalidOperationException>();
        }
DefaultExecuteStrategyTests