/**
         * Methodes pour aider aux tests
         * **/
        public static Cours creerCours(int volume, String groupe)
        {
            Cours cours = new Cours();

            cours.volumeHoraire      = volume;
            cours.numeroGroupe       = groupe;
            cours.typeCours          = TypeCoursTest.creerTypeCours("TEST_COURS");
            cours.intervenant        = PersonnelTest.creerPersonnel("TEST_COURS", "TEST_COURS");
            cours.elementConstitutif = ElementConstitutifTest.creerElementConstitutif("TEST_COURS");

            Cours resultat = CoursDAO.create(cours);

            return(resultat);
        }
 public static void supprimerCours(Cours cours)
 {
     CoursDAO.delete(cours);
     if (cours.typeCours != null)
     {
         TypeCoursTest.supprimeTypeCours(cours.typeCours);
     }
     if (cours.intervenant != null)
     {
         PersonnelTest.supprimerPersonnel(cours.intervenant);
     }
     if (cours.elementConstitutif != null)
     {
         ElementConstitutifTest.supprimerElementConstitutif(cours.elementConstitutif);
     }
 }