Package org.crank.crud.test.model

Examples of org.crank.crud.test.model.Employee


    assert employee.getFirstName().equals("monkey");
  }
 
  @Test (groups="updates")
    public void testCreateEmployeeWithStore() {
    Employee employee = new Employee();
    employee.setLastName("boy");
    employee.setFirstName("monkey");
    employeeDao.store(employee);
    employee = employeeDao.read(employee.getId());
    assert employee.getFirstName().equals("monkey");
    assert employee.getLastName().equals("boy");
  }
View Full Code Here

TOP

Related Classes of org.crank.crud.test.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.