Esempio n. 1
0
 public void Arrange()
 {
     _course           = new Course("C# Fundamentals", 75m);
     _course2          = new Course("Inheritance", 50m);
     _course3          = new Course("C# Advanced", 80m);
     _course4          = new Course("Contoso", 42m);
     _courseRepository = new CourseRepository();
     _courseRepository.AddCourseToRepository(_course);
     _courseRepository.AddCourseToRepository(_course2);
     _courseRepository.AddCourseToRepository(_course3);
     _courseRepository.AddCourseToRepository(_course4);
     _developerRepository = new DeveloperRepository();
     //_developer = new Developer("John", new List<Course>(_course2, _course4), 25);
 }