ModelBuilder.UnitTests.BuildExceptionTests.GetObjectDataThrowsExceptionWithNullInfoTest C# (CSharp) Метод

GetObjectDataThrowsExceptionWithNullInfoTest() приватный Метод

private GetObjectDataThrowsExceptionWithNullInfoTest ( ) : void
Результат void
        public void GetObjectDataThrowsExceptionWithNullInfoTest()
        {
            var streamingContext = new StreamingContext();

            var target = new BuildException();

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

            action.ShouldThrow<ArgumentNullException>();
        }
    }