Esempio n. 1
0
 public void CleanUp()
 {
     management = new PhraseManagement();
     management.DeleteAllPhrases();
     entityManagement = new EntityManagement();
     entityManagement.DeleteAllEntities();
     authorManagement.EmptyAll();
 }
Esempio n. 2
0
 public void SetUp()
 {
     management       = new PhraseManagement();
     entityManagement = new EntityManagement();
     authorManagement = new AuthorManagement();
     author           = new Author()
     {
         UserName  = "******",
         Name      = "Joaquin",
         LastName  = "Lamela",
         BirthDate = new DateTime(2000, 02, 29)
     };
     management.DeleteAllPhrases();
     entityManagement.DeleteAllEntities();
     authorManagement.EmptyAll();
 }