public void Size_Method()
 {
   var widget = new SoundCloudProfileIconWidget();
   Assert.Equal((short) SoundCloudProfileIconSize.Size32, widget.Size());
   Assert.True(ReferenceEquals(widget.Size(1), widget));
   Assert.Equal(1, widget.Size());
 }
 public void Constructors()
 {
   var widget = new SoundCloudProfileIconWidget();
   Assert.Null(widget.Account());
   Assert.Equal("orange_white", widget.Color());
   Assert.Equal((short) SoundCloudProfileIconSize.Size32, widget.Size());
 }
        public void Size_Method()
        {
            var widget = new SoundCloudProfileIconWidget();

            Assert.Equal((short)SoundCloudProfileIconSize.Size32, widget.Size());
            Assert.True(ReferenceEquals(widget.Size(1), widget));
            Assert.Equal(1, widget.Size());
        }
        public void Constructors()
        {
            var widget = new SoundCloudProfileIconWidget();

            Assert.Null(widget.Account());
            Assert.Equal("orange_white", widget.Color());
            Assert.Equal((short)SoundCloudProfileIconSize.Size32, widget.Size());
        }
    public void Color_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new SoundCloudProfileIconWidget().Color(null));
      Assert.Throws<ArgumentException>(() => new SoundCloudProfileIconWidget().Color(string.Empty));

      var widget = new SoundCloudProfileIconWidget();
      Assert.Equal("orange_white", widget.Color());
      Assert.True(ReferenceEquals(widget.Color("color"), widget));
      Assert.Equal("color", widget.Color());
    }
    public void Account_Method()
    {
      Assert.Throws<ArgumentNullException>(() => new SoundCloudProfileIconWidget().Account(null));
      Assert.Throws<ArgumentException>(() => new SoundCloudProfileIconWidget().Account(string.Empty));

      var widget = new SoundCloudProfileIconWidget();
      Assert.Null(widget.Account());
      Assert.True(ReferenceEquals(widget.Account("account"), widget));
      Assert.Equal("account", widget.Account());
    }
        public void Color_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new SoundCloudProfileIconWidget().Color(null));
            Assert.Throws <ArgumentException>(() => new SoundCloudProfileIconWidget().Color(string.Empty));

            var widget = new SoundCloudProfileIconWidget();

            Assert.Equal("orange_white", widget.Color());
            Assert.True(ReferenceEquals(widget.Color("color"), widget));
            Assert.Equal("color", widget.Color());
        }
        public void Account_Method()
        {
            Assert.Throws <ArgumentNullException>(() => new SoundCloudProfileIconWidget().Account(null));
            Assert.Throws <ArgumentException>(() => new SoundCloudProfileIconWidget().Account(string.Empty));

            var widget = new SoundCloudProfileIconWidget();

            Assert.Null(widget.Account());
            Assert.True(ReferenceEquals(widget.Account("account"), widget));
            Assert.Equal("account", widget.Account());
        }