public void CleanUp() { management = new PhraseManagement(); management.DeleteAllPhrases(); entityManagement = new EntityManagement(); entityManagement.DeleteAllEntities(); authorManagement.EmptyAll(); }
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(); }