@Test
 public void testCostruttoreV() {
   initV();
   int anno = 2012; // anno attuale
   int mese = 06; // mese attuale
   int giorno = 07; // giorno attuale
   assertTrue("L'anno non è quello atteso", d.getAnno() == anno);
   assertTrue("Il mese non è quello atteso", d.getMese() == mese);
   assertTrue("Il giorno non è quello atteso", d.getGiorno() == giorno);
 }
 @Test
 public void testCostruttoreStringa() {
   initS();
   String corretta = "1989/10/11 12:06:58";
   assertTrue("La creazione da stringa non è corretto", d.toString().equals(corretta));
 }
 @Test
 public void testCostruttoreP() {
   init();
   assertTrue("Il giorno non è quello atteso", d.getGiorno() == 10);
 }