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

CreateThrowsExceptionWhenNotInitializedTest() private méthode

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

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

            action.ShouldThrow<InvalidOperationException>();
        }
DefaultExecuteStrategyTests