ModelBuilder.UnitTests.BuildExceptionTests.GetObjectDataThrowsExceptionWithNullInfoTest C# (CSharp) Méthode

GetObjectDataThrowsExceptionWithNullInfoTest() private méthode

private GetObjectDataThrowsExceptionWithNullInfoTest ( ) : void
Résultat void
        public void GetObjectDataThrowsExceptionWithNullInfoTest()
        {
            var streamingContext = new StreamingContext();

            var target = new BuildException();

            Action action = () => { target.GetObjectData(null, streamingContext); };

            action.ShouldThrow<ArgumentNullException>();
        }
    }