public void testAdd() {
// TODO comment tester unitairement la construction de l'objet à l'aide de la factory ???
// validation (sans erreurs)
mockIterationValidator.expectValidate(new Ignore(), AgilePlanningObjectFactory.getErrors());
// ajout
mockIterationRepository.acceptAddOrUpdate(new Ignore());
Errors errorsFromService = iterationService.add(1, new Date(), new Date());
// Vérifie les appels
MockCore.verify();