public void Counter_Method() { var widget = new PinterestPinItButtonWidget(); Assert.Equal(PinterestPinItButtonPinCountPosition.None, widget.Counter()); Assert.True(ReferenceEquals(widget.Counter(PinterestPinItButtonPinCountPosition.Above), widget)); Assert.Equal(PinterestPinItButtonPinCountPosition.Above, widget.Counter()); }
public void Counter_Method() { var widget = new PinterestPinItButtonWidget(); Assert.Equal(PinterestPinItButtonPinCountPosition.None, widget.Counter()); Assert.True(ReferenceEquals(widget.Counter(PinterestPinItButtonPinCountPosition.Above), widget)); Assert.Equal(PinterestPinItButtonPinCountPosition.Above, widget.Counter()); }
public void Constructors() { var widget = new PinterestPinItButtonWidget(); Assert.Equal("gray", widget.Color()); Assert.Equal(PinterestPinItButtonPinCountPosition.None, widget.Counter()); Assert.Null(widget.Description()); Assert.Null(widget.Image()); Assert.Equal("en", widget.Language()); Assert.Equal(PinterestPinItButtonShape.Rectangular, widget.Shape()); Assert.Equal(PinterestPinItButtonSize.Small, widget.Size()); Assert.Null(widget.Url()); }
public void Constructors() { var widget = new PinterestPinItButtonWidget(); Assert.Equal("gray", widget.Color()); Assert.Equal(PinterestPinItButtonPinCountPosition.None, widget.Counter()); Assert.Null(widget.Description()); Assert.Null(widget.Image()); Assert.Equal("en", widget.Language()); Assert.Equal(PinterestPinItButtonShape.Rectangular, widget.Shape()); Assert.Equal(PinterestPinItButtonSize.Small, widget.Size()); Assert.Null(widget.Url()); }