public void SetUp() { this.dispatcher = A.Fake<IMailDispatcher>(); this.testee = new NewCustomer(this.dispatcher); }
public LargeAccountCustomer(IMailDispatcher dispatcher) { this.dispatcher = dispatcher; }
public void SetUp() { this.mailDispatcher = A.Fake <IMailDispatcher>(); this.testee = new NewsletterService(new SimpleCustomerFinder(this.mailDispatcher)); }
public void SetUp() { this.dispatcher = A.Fake <IMailDispatcher>(); this.testee = new LargeAccountCustomer(this.dispatcher); }
public LargeAccountCustomer(IMailDispatcher dispatcher) { this.dispatcher = dispatcher; }
public void SetUp() { this.dispatcher = A.Fake <IMailDispatcher>(); this.testee = new NewCustomer(this.dispatcher); }
public NewCustomer(IMailDispatcher dispatcher) { this.dispatcher = dispatcher; }
public void SetUp() { this.mailDispatcher = A.Fake<IMailDispatcher>(); this.testee = new NewsletterService(new SimpleCustomerFinder(this.mailDispatcher)); }
public SimpleCustomerFinder(IMailDispatcher mailDispatcher) { this.mailDispatcher = mailDispatcher; }
public NewCustomer(IMailDispatcher dispatcher) { this.dispatcher = dispatcher; }
public SimpleCustomerFinder(IMailDispatcher mailDispatcher) { this.mailDispatcher = mailDispatcher; }
public void SetUp() { this.dispatcher = A.Fake<IMailDispatcher>(); this.testee = new LargeAccountCustomer(this.dispatcher); }