ModelBuilder.UnitTests.ExecuteStrategyExtensionTests.CreateThrowsExceptionWithNullInstanceTypeTest C# (CSharp) Method

CreateThrowsExceptionWithNullInstanceTypeTest() private method

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

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

            action.ShouldThrow<ArgumentNullException>();
        }