public void OnlyButton_Method() { var widget = new VkontakteSubscriptionWidget(); Assert.False(widget.OnlyButton()); Assert.True(ReferenceEquals(widget.OnlyButton(true), widget)); Assert.True(widget.OnlyButton()); }
public void Constructors() { var widget = new VkontakteSubscriptionWidget(); Assert.Null(widget.Account()); Assert.Null(widget.ElementId()); Assert.Equal((byte)VkontakteSubscriptionButtonLayout.Button, widget.Layout()); Assert.False(widget.OnlyButton()); }