Esempio n. 1
0
        public GatherMemberInfoPresenter(ITempDataRepository tempDataRepository, IGatherMemberInfoView gatherMemberInfoView)
        {
            _tempDataRepository   = tempDataRepository;
            _gatherMemberInfoView = gatherMemberInfoView;

            _gatherMemberInfoView.GatherMemberInfo += new EventHandler(_gatherMemberInfoView_GatherMemberInfo);
        }
        public GatherMemberInfoPresenter(ITempDataRepository tempDataRepository, IGatherMemberInfoView gatherMemberInfoView)
        {
            _tempDataRepository = tempDataRepository;
            _gatherMemberInfoView = gatherMemberInfoView;

            _gatherMemberInfoView.GatherMemberInfo += new EventHandler(_gatherMemberInfoView_GatherMemberInfo);
        }
 public void SetUp()
 {
     _tempDataRepository     = new FakeTempDataRepository();
     _gatherMemberInfoView   = new FakeGatherMemberInfoView();
     _nationalFitnessGateway = new FakeNationalFitnessGateway();
     _ccProcessingGateway    = new FakeCCProcessingGateway();
     _memberRepository       = new FakeMemberRepository();
     _renewMembershipView    = new FakeRenewMembershipView();
 }
 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>();
     _gatherMemberInfoView = _mockRepository.StrictMock<IGatherMemberInfoView>();
 }
 public void SetUp()
 {
     _mockRepository       = new MockRepository();
     _tempDataRepository   = _mockRepository.StrictMock <ITempDataRepository>();
     _gatherMemberInfoView = _mockRepository.StrictMock <IGatherMemberInfoView>();
 }