Esempio n. 1
0
 public PatientControllerTests()
 {
     _dataAccessLayer   = Substitute.For <ITeleHealthDataAccessLayer>();
     _auth              = Substitute.For <IAuthentication>();
     _validator         = Substitute.For <IRequestValidator>();
     _patients          = GetPationsData();
     _patientController = new PatientController(_dataAccessLayer, _auth, _validator);
 }
Esempio n. 2
0
 public PatientController(ITeleHealthDataAccessLayer dal, IAuthentication auth, IRequestValidator validator)
 {
     _dal       = dal;
     _auth      = auth;
     _validator = validator;
 }