private static void DomainShouldBeEquivalent(Domain.Domains.Advertisement advertisement, Advertisement expectedAdvertisement, Channel expectedChannel) { advertisement.Should().BeEquivalentTo( expectedAdvertisement, options => options.Excluding(x => x.AdvertisementChannels)); advertisement.Channels.First().Should().BeEquivalentTo( expectedChannel, options => options.Excluding(x => x.AdvertisementChannels)); }
private static void DomainShouldBeEquivalent(Domain.Domains.Channel channel, Channel expectedChannel) { channel.Should().BeEquivalentTo( expectedChannel, options => options.Excluding(x => x.AdvertisementChannels)); }