public void Height_Method()
        {
            Assert.Throws <ArgumentNullException>(() => IVideoJSPlayerWidgetExtensions.Height(null, 0));

            new VideoJSPlayerWidget().Do(widget =>
            {
                Assert.True(ReferenceEquals(widget.Height(1), widget));
                Assert.Equal("1", widget.Height());
            });
        }
        public void Videos_Method()
        {
            Assert.Throws <ArgumentNullException>(() => IVideoJSPlayerWidgetExtensions.Videos(null, new IMediaSource[] {}));
            Assert.Throws <ArgumentNullException>(() => IVideoJSPlayerWidgetExtensions.Videos(new VideoJSPlayerWidget(), null));

            new VideoJSPlayerWidget().Do(widget =>
            {
                Assert.True(ReferenceEquals(widget.Videos(Enumerable.Empty <IMediaSource>()), widget));
                Assert.False(widget.Videos().Any());
            });

            new VideoJSPlayerWidget().Do(widget => Assert.True(widget.Videos(new[] { new MediaSource("url", "contentType") }).Videos().SequenceEqual(new[] { new MediaSource("url", "contentType") })));
        }