public StudentServiceTest() { _studentService = MockBaseRepository.Create <IStudentService>(); _studentRepository = MockBaseRepository.Create <IStudentRepository>(); _loggerRepository = MockBaseRepository.Create <ILoggerRepository>(); _target = new StudentService(_studentRepository.Object, _loggerRepository.Object); }