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));
 }
예제 #2
0
 private static void DomainShouldBeEquivalent(Domain.Domains.Channel channel, Channel expectedChannel)
 {
     channel.Should().BeEquivalentTo(
         expectedChannel,
         options => options.Excluding(x => x.AdvertisementChannels));
 }