comparison Agendas/trunk/src/Agendas.Repositories.Tests/Workflow.cs @ 274:72a96459f910

Ticket #123: Patrocinadores de las vans.
author juanjose.montesdeocaarbos
date Wed, 30 Nov 2011 08:56:01 -0300
parents c61954d24c8c
children bc8dfbde0523
comparison
equal deleted inserted replaced
273:a7420f05716a 274:72a96459f910
13 private readonly IEventoRepository _eventoRepository; 13 private readonly IEventoRepository _eventoRepository;
14 private Guid _eventoId; 14 private Guid _eventoId;
15 private readonly TestsHelper _testsHelper; 15 private readonly TestsHelper _testsHelper;
16 16
17 public Workflow(IPublicador publicador, IEventoRepository eventoRepository, IPersonaRepository personaRepository, 17 public Workflow(IPublicador publicador, IEventoRepository eventoRepository, IPersonaRepository personaRepository,
18 Func<IDisposable> requestEmulator) 18 IPatrocinadorRepository patrocinadorRepository, Func<IDisposable> requestEmulator)
19 { 19 {
20 _requestEmulator = requestEmulator; 20 _requestEmulator = requestEmulator;
21 _eventoRepository = eventoRepository; 21 _eventoRepository = eventoRepository;
22 22
23 _agenda = new Agenda(publicador, eventoRepository, personaRepository); 23 _agenda = new Agenda(publicador, eventoRepository, personaRepository, patrocinadorRepository);
24 _testsHelper = new TestsHelper(personaRepository); 24 _testsHelper = new TestsHelper(personaRepository);
25 } 25 }
26 26
27 public void Proponer() 27 public void Proponer()
28 { 28 {