Package org.evolizer.model.resources.entities.humans

Examples of org.evolizer.model.resources.entities.humans.Role


    assertTrue(pp.getNickNames().contains("'se Michiator"));
  }
 
  @Test
  public void testRoles() {
    Role role = new Role("Developer");
   
    assertEquals("Developer", role.getLabel());
   
    Role pRole = saveAndReloadUniqueFromDB(role, "from Role", Role.class);
    assertEquals("Developer", pRole.getLabel());
  }
View Full Code Here


    p.setLastName("Giger");
    p.addNickName("Gigs");
    p.addNickName("Flex0r");

   
    Role firstRole = new Role("Developer");
    Role secondRole = new Role("Gamer");
   
    p.addRole(firstRole);
    p.addRole(secondRole);

    save(p, firstRole, secondRole);
View Full Code Here

TOP

Related Classes of org.evolizer.model.resources.entities.humans.Role

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.