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 ThereIsAnEmployeeRepository()
        {
            EmployeeRepository employeeRepository = new TestEmployeeRepository();

            Assert.IsNotNull(employeeRepository);
        }
 public void ThereIsAnEmployeeRepository()
 {
     EmployeeRepository employeeRepository = new TestEmployeeRepository();
     Assert.IsNotNull(employeeRepository);
 }