@Test
 /** Tests the builders. */
 public void from() {
   final DepositZeroDefinition from =
       DepositZeroDefinition.from(EUR, SPOT_DATE, END_DATE, DAY_COUNT, RATE, CALENDAR);
   final DepositZeroDefinition comp =
       new DepositZeroDefinition(EUR, SPOT_DATE, END_DATE, 1.0, DEPOSIT_AF, RATE);
   assertEquals("DepositZeroDefinition - From", comp, from);
 }
 @Test(expectedExceptions = IllegalArgumentException.class)
 public void nullDayCount() {
   DepositZeroDefinition.from(EUR, SPOT_DATE, END_DATE, null, RATE, CALENDAR);
 }