@Test public void deleteComposantProgrammeTest() { programmeDao.findProgramme("PROG01").getElementsFils().remove(0); composantProgrammeDao.deleteComposantProgramme( composantProgrammeDao.findComposantProgramme("SEM01")); assertEquals(0, composantProgrammeDao.findAllComposantsProgramme().size()); }
@Test public void findAllComposantsProgrammeTest() { assertEquals(1, composantProgrammeDao.findAllComposantsProgramme().size()); }