for (int i = 0; i < nbBranches; i++) {
branches.add(createSpecificTreeBranchState());
}
TreeTrunkState trunkState = createSpecificTreeTrunkState();
float height = (float) 4;
Tree3DState tree3dState = DisplayDataCreatorForTests.createRandomTree3DState();
return new TreeState(createRandomId(), age, energy, branches, trunkState, height, tree3dState);
}