Main: Check the association between Project-Project
📢 Problem description
Check the unidirectional association between Project-Project (A project can have several sub-projects).
👮 Tests à réaliser
-
Adding a sub-project to a project. -
Removing a sub-project from a project.
✔ Solutions
- Write unit tests.
- Implement addSubProject and removeSubProject methods in the Project class.