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