public void ExceptionCollection_GetObjectData_ThrowsPlatformNotSupportedException()
        {
            var collection = new ExceptionCollection(new ArrayList());

            Assert.Throws <PlatformNotSupportedException>(() => collection.GetObjectData(null, new StreamingContext()));
        }
        public void ExceptionCollection_GetObjectData_NullInfo_ThrowsArgumentNullException()
        {
            var collection = new ExceptionCollection(new ArrayList());

            Assert.Throws <ArgumentNullException>("info", () => collection.GetObjectData(null, new StreamingContext()));
        }