person.setLastName("Doe");
person.setUserId("john");
person.setPassword("password");
PmDeployment.instance().persist(person, em, context);
TeamMember teamMember = new TeamMember();
teamMember.setRole("admin");
teamMember.setPerson(person);
teamMember.setTeam(team);
PmDeployment.instance().persist(teamMember, em, context);
person = new Person();
person.setFirstName("Jane");
person.setLastName("Doe");
person.setUserId("jane");
person.setPassword("password");
PmDeployment.instance().persist(person, em, context);
teamMember = new TeamMember();
teamMember.setRole("member");
teamMember.setPerson(person);
teamMember.setTeam(team);
PmDeployment.instance().persist(teamMember, em, context);
person = new Person();
person.setFirstName("Arnold");
person.setLastName("Schwarzenegger");
person.setUserId("arnold");
person.setPassword("password");
PmDeployment.instance().persist(person, em, context);
teamMember = new TeamMember();
teamMember.setRole("owner");
teamMember.setPerson(person);
teamMember.setTeam(team);
PmDeployment.instance().persist(teamMember, em, context);
person = new Person();
person.setFirstName("Demo");
person.setLastName("Demo");
person.setUserId("demo");
person.setPassword("");
PmDeployment.instance().persist(person, em, context);
teamMember = new TeamMember();
teamMember.setRole("owner");
teamMember.setPerson(person);
teamMember.setTeam(team);
PmDeployment.instance().persist(teamMember, em, context);
ItemGroup ig = new ItemGroup();
ig.setName("Itemgroup 2");
ig.setProduct(product);