ModelBuilder.UnitTests.ExecuteStrategyExtensionTests.CreateThrowsExceptionWithNullInstanceTypeTest C# (CSharp) Méthode

CreateThrowsExceptionWithNullInstanceTypeTest() private méthode

private CreateThrowsExceptionWithNullInstanceTypeTest ( ) : void
Résultat void
        public void CreateThrowsExceptionWithNullInstanceTypeTest()
        {
            var target = Substitute.For<IExecuteStrategy>();

            Action action = () => target.Create(null);

            action.ShouldThrow<ArgumentNullException>();
        }