protected void setUp() throws Exception {
super.setUp();
mockTree = new MockTree();
nbBranches = 5;
for (int index = 0; index < nbBranches; index++) {
MockTreeBranch mockBranch = new MockTreeBranch();
Point3dState translationVector = DisplayDataCreatorForTests.createRandomPointState();
MockTreeBranch3D mockBranch3D = (MockTreeBranch3D) mockBranch.getBranch3D();
mockBranch3D.getState().setTranslationVector(translationVector);
mockTree.addBranch(mockBranch);
}
mockUniverse3D = new MockUniverse3D();
tree3DState = DisplayDataCreatorForTests.createRandomTree3DState();