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