Package it.hotel.model.user

Examples of it.hotel.model.user.User.clone()


    user.setRole(role);
    user.setUserName("dappers");
    user.setSurname("dillip");
    user.setLanguage("it");
   
    IUser user2 = (IUser) user.clone();
    assertEquals("blah@mail.com",user2.getEmail());
    assertEquals(2,user2.getStructureId());
    assertEquals("dharmesh", user2.getName());
    assertEquals("password", user2.getPassword());
    assertEquals("password", user2.getPasswordConfirm());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.