public void Setup() { employee = new TestEmployee(); employeeRepository = new TestEmployeeRepository(employee); paymentDispatcher = new TestPaymentDispatcher(); paymentDispatcherFactory = new TestPaymentDispatcherFactory(paymentDispatcher); payer = new TestPayer(employeeRepository, paymentDispatcherFactory); }
public void ThereIsAnEmployeeRepository() { EmployeeRepository employeeRepository = new TestEmployeeRepository(); Assert.IsNotNull(employeeRepository); }