public PriceDiscountDomainProbeShould() { _announcer = Substitute.For <IDomainAnnouncer>(); _probe = Substitute.For <PriceDiscountDomainProbe>(_announcer); }
public ConsoleDomainAnnouncerShould() { _announcer = new ConsoleDomainAnnouncer(); }
public PriceDiscountDomainProbe(IDomainAnnouncer announcer) { _announcer = announcer; }