ModelBuilder.UnitTests.DefaultExecuteStrategyTests.CreateWithThrowsExceptionWhenNotInitializedTest C# (CSharp) Méthode

CreateWithThrowsExceptionWhenNotInitializedTest() private méthode

private CreateWithThrowsExceptionWhenNotInitializedTest ( ) : void
Résultat void
        public void CreateWithThrowsExceptionWhenNotInitializedTest()
        {
            var target = new DefaultExecuteStrategy();

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

            action.ShouldThrow<InvalidOperationException>();
        }
DefaultExecuteStrategyTests