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