Beispiel #1
0
 public void TestSetupLayers()
 {
     _employeeMock    = new EmployeeAccessorMock();
     _employeeManager = new EmployeeManager(_employeeMock);
     _employee        = new List <Employee>();
     _employee        = _employeeManager.SelectAllEmployees();
 }
Beispiel #2
0
        public void TestSetup()
        {
            _employeeMock = new EmployeeAccessorMock();

            _employeeManager = new EmployeeManager(_employeeMock);
        }
 /// <summary author="Caitlin Abelson" created="2019/02/14">
 /// Constructor for the mock accessor
 /// </summary>
 /// <param name="employeeAccessorMock"></param>
 public EmployeeManager(EmployeeAccessorMock employeeAccessorMock)
 {
     _employeeAccessor = employeeAccessorMock;
 }