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

            this.testee = new NewsletterService(new SimpleCustomerFinder(this.mailDispatcher));
        }
예제 #2
0
        public void SetUp()
        {
            this.customerFinder = A.Fake<ICustomerFinder>();

            this.testee = new NewsletterService(this.customerFinder);
        }
예제 #3
0
        public void SetUp()
        {
            this.mailDispatcher = A.Fake <IMailDispatcher>();

            this.testee = new NewsletterService(new SimpleCustomerFinder(this.mailDispatcher));
        }
예제 #4
0
        public void SetUp()
        {
            this.customerFinder = A.Fake <ICustomerFinder>();

            this.testee = new NewsletterService(this.customerFinder);
        }