public void SetUp()
 {
     _tempDataRepository     = new FakeTempDataRepository();
     _gatherMemberInfoView   = new FakeGatherMemberInfoView();
     _nationalFitnessGateway = new FakeNationalFitnessGateway();
     _ccProcessingGateway    = new FakeCCProcessingGateway();
     _memberRepository       = new FakeMemberRepository();
     _renewMembershipView    = new FakeRenewMembershipView();
 }
 public void SetUp()
 {
     _mockRepository         = new MockRepository();
     _tempDataRepository     = _mockRepository.StrictMock <ITempDataRepository>();
     _nationalFitnessGateway = _mockRepository.StrictMock <INationalFitnessGateway>();
     _ccProcessingGateway    = _mockRepository.StrictMock <ICCProcessingGateway>();
     _memberRepository       = _mockRepository.StrictMock <IMemberRepository>();
     _renewMembershipView    = _mockRepository.StrictMock <IRenewMembershipView>();
 }
 public void SetUp()
 {
     _tempDataRepository = new FakeTempDataRepository();
     _gatherMemberInfoView = new FakeGatherMemberInfoView();
     _nationalFitnessGateway = new FakeNationalFitnessGateway();
     _ccProcessingGateway = new FakeCCProcessingGateway();
     _memberRepository = new FakeMemberRepository();
     _renewMembershipView = new FakeRenewMembershipView();
 }
        public RenewMembershipPresenter(ITempDataRepository tempDataRepository, INationalFitnessGateway nationalFitnessGateway, ICCProcessingGateway ccProcessingGateway, IMemberRepository memberRepository, IRenewMembershipView renewMembershipView)
        {
            _tempDataRepository     = tempDataRepository;
            _nationalFitnessGateway = nationalFitnessGateway;
            _ccProcessingGateway    = ccProcessingGateway;
            _memberRepository       = memberRepository;
            _renewMembershipView    = renewMembershipView;

            _renewMembershipView.Initialize      += new EventHandler(_renewMembershipView_Initialize);
            _renewMembershipView.RenewMembership += new EventHandler(_renewMembershipView_RenewMembership);
        }
        public RenewMembershipPresenter(ITempDataRepository tempDataRepository, INationalFitnessGateway nationalFitnessGateway, ICCProcessingGateway ccProcessingGateway, IMemberRepository memberRepository, IRenewMembershipView renewMembershipView)
        {
            _tempDataRepository = tempDataRepository;
            _nationalFitnessGateway = nationalFitnessGateway;
            _ccProcessingGateway = ccProcessingGateway;
            _memberRepository = memberRepository;
            _renewMembershipView = renewMembershipView;

            _renewMembershipView.Initialize += new EventHandler(_renewMembershipView_Initialize);
            _renewMembershipView.RenewMembership += new EventHandler(_renewMembershipView_RenewMembership);
        }