Package ca.intelliware.studygroup.rest.model

Examples of ca.intelliware.studygroup.rest.model.Employee


        makeEmployee("Al Dente"),
        makeEmployee("Bob Frapples"));
  }
 
  protected Employee makeEmployee(String employeeName) {
    Employee employee = new Employee();
    employee.setEmployeeId(generateEmployeeId());
    employee.setEmployeeName(employeeName);
    employee.setJob(generateJobTitle(employeeName));
    employee.setEmployeeStatus(generateEmployeeStatus(employeeName));
    return employee;
  }
View Full Code Here


    }
  }

  @Test
  public void testMakeEmployee() {
    Employee employee = fixture.makeEmployee("John Doe");
    assertNotNull(employee.getEmployeeId());
  }
View Full Code Here

TOP

Related Classes of ca.intelliware.studygroup.rest.model.Employee

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.