finally { GrouperConfig.setProperty(GrouperConfig.GWU, "false" ); }
  public void testNotWheelThenMakeWheel() {    LOG.info("testNotWheelThenMakeWheel");    try {      R       r     = R.populateRegistry(1, 0, 1);      Stem    nsA   = r.getStem("a");      Subject subjA = r.getSubject("a");      Member  mA    = MemberFinder.findBySubject(r.rs, subjA);          // Before wheel       Assert.assertFalse( "!has create" , nsA.hasCreate(subjA)  );      Assert.assertFalse( "!canCreate"  , mA.canCreate(nsA)     );            // Enable wheel      Stem    etc   = r.root.addChildStem("etc", "etc");      Group   wheel = etc.addChildGroup("wheel", "wheel");      wheel.addMember(subjA);      GrouperConfig.setProperty(GrouperConfig.GWU, "true"     );      GrouperConfig.setProperty(GrouperConfig.GWG, "etc:wheel");            // After wheel      Assert.assertTrue(  "now has create"  , nsA.hasCreate(subjA)  );      Assert.assertTrue(  "now canCreate"   , mA.canCreate(nsA)     );      r.rs.stop();     }    catch (Exception e) {      T.e(e);    }  } // public void testNotWheelThenMakeWheel()