public InheritanceCompositionTest2() { var repoH = new PersonInheritanceRepository(); repoH.Add(new Person()); repoH.Delete(new Person()); var repoC = new PersonCompositionRepository(new Repository <Person>()); repoC.Add(new Person()); }
public InheritanceCompositionTests2() { var inheritanceRepository = new PersonInheritanceRepository(); inheritanceRepository.Add(new Person()); inheritanceRepository.Delete(new Person()); var compositionRepository = new PersonCompositionRepository(new Repository <Person>()); compositionRepository.Add(new Person()); }