public void SetUp()
        {
            this.dispatcher = A.Fake<IMailDispatcher>();

            this.testee = new NewCustomer(this.dispatcher);
        }
Пример #2
0
 public LargeAccountCustomer(IMailDispatcher dispatcher)
 {
     this.dispatcher = dispatcher;
 }
Пример #3
0
        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);
        }
Пример #5
0
 public LargeAccountCustomer(IMailDispatcher dispatcher)
 {
     this.dispatcher = dispatcher;
 }
Пример #6
0
        public void SetUp()
        {
            this.dispatcher = A.Fake <IMailDispatcher>();

            this.testee = new NewCustomer(this.dispatcher);
        }
Пример #7
0
 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;
 }
Пример #10
0
 public NewCustomer(IMailDispatcher dispatcher)
 {
     this.dispatcher = dispatcher;
 }
Пример #11
0
 public SimpleCustomerFinder(IMailDispatcher mailDispatcher)
 {
     this.mailDispatcher = mailDispatcher;
 }
        public void SetUp()
        {
            this.dispatcher = A.Fake<IMailDispatcher>();

            this.testee = new LargeAccountCustomer(this.dispatcher);
        }