コード例 #1
0
        public void Setup()
        {
            employee = new TestEmployee();
            employeeRepository = new TestEmployeeRepository(employee);
            paymentDispatcher = new TestPaymentDispatcher();
            paymentDispatcherFactory = new TestPaymentDispatcherFactory(paymentDispatcher);

            payer = new TestPayer(employeeRepository, paymentDispatcherFactory);
        }
コード例 #2
0
        public void Setup()
        {
            employee                 = new TestEmployee();
            employeeRepository       = new TestEmployeeRepository(employee);
            paymentDispatcher        = new TestPaymentDispatcher();
            paymentDispatcherFactory = new TestPaymentDispatcherFactory(paymentDispatcher);

            payer = new TestPayer(employeeRepository, paymentDispatcherFactory);
        }
コード例 #3
0
        public void ThereIsAPaymentDispatcher()
        {
            PaymentDispatcher paymentDispatcher = new TestPaymentDispatcher();

            Assert.IsNotNull(paymentDispatcher);
        }
コード例 #4
0
 public void ThereIsAPaymentDispatcher()
 {
     PaymentDispatcher paymentDispatcher = new TestPaymentDispatcher();
     Assert.IsNotNull(paymentDispatcher);
 }