GrouperGroup grp = new GrouperGroup();  grp.session(s);   grp.attribute("stem", "stem.1"); grp.attribute("descriptor", "descriptor.1");  grp.attribute("description", "group.1");   grp.create(s);   Assert.assertTrue( grp.exist() );
  public void testCreateGroup() {    G = new Grouper();    G.init();    GrouperSession s = new GrouperSession();    GrouperMember subject = GrouperSubject.lookup( G.config("member.system"), "person" );    s.start(G, subject);    // Create the group    // GrouperGroup grp = GrouperGroup.create(s, "stem.1", "desc.1");    // Confirm that the group exists    // Assert.assertTrue( grp.exist() );        GrouperGroup grp = new GrouperGroup();    // Attach a session    grp.session(s);    // Identify the group    grp.attribute("stem", "stem.1");    grp.attribute("descriptor", "descriptor.1");    // Describe the group    grp.attribute("description", "group.1");    // Create it    grp.create(s);    // Confirm that the group exists    Assert.assertTrue( grp.exist() );    // We're done    s.stop();    G.destroy();  }