public void PropertyTest() { Mock <ITwitchChannelLink> cLink = new Mock <ITwitchChannelLink>(); HostingStopped hostingStopped = new HostingStopped("BenAbt", 1); TwitchHostingStoppedNotification notification = new TwitchHostingStoppedNotification(cLink.Object, hostingStopped); notification.ChannelLink.Should().NotBeNull(); notification.ChannelLink.Should().Be(cLink.Object); notification.HostingStopped.Should().Be(hostingStopped); }
public TwitchHostingStoppedNotification(ITwitchChannelLink channelLink, HostingStopped hostingStopped) : base(channelLink) { HostingStopped = hostingStopped; }