gary.setPlainTextPassword("test1");
SPPerson mary = SPPerson.createSPPerson(editingContext, Boolean.FALSE, "test2@secretpal.com", Boolean.FALSE, "Mary Example");
mary.setPassword(null);
SPGroup testGroup = SPGroup.createSPGroup(editingContext, "The Example Crew", admin);
testGroup.setDescription("This is the example group for testing Secret Pal.");
SPMembership.createSPMembership(editingContext, Boolean.TRUE, Boolean.TRUE, testGroup, admin);
SPMembership.createSPMembership(editingContext, Boolean.FALSE, Boolean.TRUE, testGroup, gary);
SPMembership.createSPMembership(editingContext, Boolean.FALSE, Boolean.FALSE, testGroup, mary);
SPEvent testEvent = SPEvent.createSPEvent(editingContext, Boolean.TRUE, "Christmas 2010", testGroup);
testEvent.setDescription("It's christmas time! Get your secret pal something nice!");