public void setUp() { super.setUp(); try { this.s = GrouperSession.start(SubjectFinder.findRootSubject()); this.root = StemFinder.findRootStem(this.s); this.originalRootSize = new ChildStemFilter(this.root).getResults(this.s).size(); this.top = this.root.addChildStem("top", "top"); this.child = this.top.addChildStem("child", "child"); } catch (Exception e) { throw new GrouperException("test setUp() error: " + e.getMessage(), e); } }
public void setUp() { super.setUp(); this.grouperSession = GrouperSession.start(SubjectFinder.findRootSubject()); this.root = StemFinder.findRootStem(this.grouperSession); this.top = this.root.addChildStem("top", "top display name"); }