Assert.assertNotNull(rabaisEvenement.getMontant());
}
public void testCreateBatchForm() throws Exception
{
RabaisEvenementBatchForm form = getRabaisEvenementService()
.createBatchForm(evenementSansRabais);
assertEquals(41, form.getSelectionCategorie().size());
for (SelectionForm<Categorie> selection : form.getSelectionCategorie())
{
assertFalse(selection.isSelected());
}
form = getRabaisEvenementService().createBatchForm(evenementAvecRabais);
assertEquals(41, form.getSelectionCategorie().size());
for (SelectionForm<Categorie> selection : form.getSelectionCategorie())
{
assertFalse(selection.isSelected());
}
}