public void OrangeTransparent_Method() { Assert.Throws <ArgumentNullException>(() => ISoundCloudProfileIconWidgetExtensions.OrangeTransparent(null)); new SoundCloudProfileIconWidget().Do(widget => { Assert.True(ReferenceEquals(widget.OrangeTransparent(), widget)); Assert.Equal("orange_transparent", widget.Color()); }); }
public void Size_Method() { Assert.Throws <ArgumentNullException>(() => ISoundCloudProfileIconWidgetExtensions.Size(null, SoundCloudProfileIconSize.Size16)); new SoundCloudProfileIconWidget().Do(widget => { Assert.True(ReferenceEquals(widget.Size(SoundCloudProfileIconSize.Size16), widget)); Assert.Equal((short)16, widget.Size()); }); }
public void BlackWhite_Method() { Assert.Throws <ArgumentNullException>(() => ISoundCloudProfileIconWidgetExtensions.BlackWhite(null)); new SoundCloudProfileIconWidget().Do(widget => { Assert.True(ReferenceEquals(widget.BlackWhite(), widget)); Assert.Equal("black_white", widget.Color()); }); }