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); }
public DiagnosticoTratamientoController(IPacienteService pacienteService, IDiagnosticoTratamientoService diagnosticoTratamientoService, ILog log) { _pacienteService = pacienteService; _diagnosticoTratamientoService = diagnosticoTratamientoService; _log = log; }