public void AVAssetDownloadUrlSessionStaticNotSupported()
        {
            TestRuntime.AssertXcodeVersion(7, 0);

            Assert.Throws <NotSupportedException> (() => { var x = AVAssetDownloadUrlSession.SharedSession; }, "SharedSession should throw NotSupportedException");
            Assert.Throws <NotSupportedException> (() => AVAssetDownloadUrlSession.FromConfiguration(NSUrlSessionConfiguration.DefaultSessionConfiguration), "FromConfiguration should throw NotSupportedException");
            Assert.Throws <NotSupportedException> (() => AVAssetDownloadUrlSession.FromConfiguration(NSUrlSessionConfiguration.DefaultSessionConfiguration, new NSUrlSessionDelegate(), null), "FromConfiguration should throw NotSupportedException");
            Assert.Throws <NotSupportedException> (() => AVAssetDownloadUrlSession.FromWeakConfiguration(NSUrlSessionConfiguration.DefaultSessionConfiguration, new NSObject(), null), "FromWeakConfiguration should throw NotSupportedException");
        }
		public void AVAssetDownloadUrlSessionStaticNotSupported ()
		{
			if (!TestRuntime.CheckSystemAndSDKVersion (9, 0))
				Assert.Ignore ("Ignoring AVAssetDownloadUrlSession tests: Requires iOS9+");

			Assert.Throws <NotSupportedException> (() => { var x = AVAssetDownloadUrlSession.SharedSession; }, "SharedSession should throw NotSupportedException");
			Assert.Throws <NotSupportedException> (() => AVAssetDownloadUrlSession.FromConfiguration (NSUrlSessionConfiguration.DefaultSessionConfiguration), "FromConfiguration should throw NotSupportedException");
			Assert.Throws <NotSupportedException> (() => AVAssetDownloadUrlSession.FromConfiguration (NSUrlSessionConfiguration.DefaultSessionConfiguration, new NSUrlSessionDelegate (), null), "FromConfiguration should throw NotSupportedException");
			Assert.Throws <NotSupportedException> (() => AVAssetDownloadUrlSession.FromWeakConfiguration (NSUrlSessionConfiguration.DefaultSessionConfiguration, new NSObject (), null), "FromWeakConfiguration should throw NotSupportedException");
		}