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

PopulateThrowsExceptionWithNullInstanceTest() private méthode

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

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

            action.ShouldThrow<ArgumentNullException>();
        }
DefaultExecuteStrategyTests