public void Constructors()
 {
   var widget = new MailRuVideoWidget();
   Assert.Null(widget.Id());
   Assert.Null(widget.Height());
   Assert.Null(widget.Width());
 }
        public void Constructors()
        {
            var widget = new MailRuVideoWidget();

            Assert.Null(widget.Id());
            Assert.Null(widget.Height());
            Assert.Null(widget.Width());
        }
    public void Height_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new MailRuVideoWidget().Height(null));
      Assert.Throws<ArgumentException>(() => new MailRuVideoWidget().Height(string.Empty));

      var widget = new MailRuVideoWidget();
      Assert.Null(widget.Height());
      Assert.True(ReferenceEquals(widget.Height("height"), widget));
      Assert.Equal("height", widget.Height());
    }
    public void Width_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new MailRuVideoWidget().Width(null));
      Assert.Throws<ArgumentException>(() => new MailRuVideoWidget().Width(string.Empty));

      var widget = new MailRuVideoWidget();
      Assert.Null(widget.Width());
      Assert.True(ReferenceEquals(widget.Width("width"), widget));
      Assert.Equal("width", widget.Width());
    }
        public void Height_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new MailRuVideoWidget().Height(null));
            Assert.Throws <ArgumentException>(() => new MailRuVideoWidget().Height(string.Empty));

            var widget = new MailRuVideoWidget();

            Assert.Null(widget.Height());
            Assert.True(ReferenceEquals(widget.Height("height"), widget));
            Assert.Equal("height", widget.Height());
        }
        public void Width_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new MailRuVideoWidget().Width(null));
            Assert.Throws <ArgumentException>(() => new MailRuVideoWidget().Width(string.Empty));

            var widget = new MailRuVideoWidget();

            Assert.Null(widget.Width());
            Assert.True(ReferenceEquals(widget.Width("width"), widget));
            Assert.Equal("width", widget.Width());
        }