Exemplo n.º 1
0
        public void TestFind()
        {
            // test du find simple
            Periode resultat     = creerPeriode("TEST_PERIODE");
            Periode resultatFind = PeriodeDAO.find(resultat.id);

            Assert.AreEqual("TEST_PERIODE", resultatFind.libelle);
            Assert.AreNotEqual(0, resultatFind.annee.id);
            Assert.AreNotEqual(0, resultatFind.annee.diplome.id);
        }