예제 #1
0
        public DiagnosticoTratamientoServiceTest()
        {
            var mock = new MockFactory();

            _diagnosticoRepositoryMock            = mock.CreateMock <IDiagnosticoRepository>();
            _tratamientoRepositoryMock            = mock.CreateMock <ITratamientoRepository>();
            _materialSoportePlantarRepositoryMock = mock.CreateMock <IMaterialSoportePlantarRepository>();

            _diagnosticoTratamientoService = new DiagnosticoTratamientoService(_diagnosticoRepositoryMock.MockObject,
                                                                               _tratamientoRepositoryMock.MockObject, _materialSoportePlantarRepositoryMock.MockObject);
        }
예제 #2
0
 public DiagnosticoTratamientoController(IPacienteService pacienteService, IDiagnosticoTratamientoService diagnosticoTratamientoService, ILog log)
 {
     _pacienteService = pacienteService;
     _diagnosticoTratamientoService = diagnosticoTratamientoService;
     _log = log;
 }