Example #1
0
 public void SetUp()
 {
     _fixture = new Fixture().Customize(new AutoMoqCustomization {
         ConfigureMembers = true
     });
     _postingQueryRepository         = _fixture.Freeze <ILegacyPostingQueryRepository>();
     _monthlyAccountStatusRepository = _fixture.Freeze <ILegacyAccountStatusQueryRepository>();
     _accountStatusRepository        = _fixture.Freeze <IAccountStatusRepository>();
     _fixture.Inject <ILegacyAccountStatusSumupService>(_fixture.Create <LegacyAccountStatusSumupService>());
     _fixture.Inject <ILegacyPostingSumupService>(_fixture.Create <LegacyPostingSumupService>());
 }
Example #2
0
 public LegacyAccountStatusController(IAccountStatusRepository accountStatusRepository, ILegacyAccountStatusRepository legacyAccountStatusRepository, ILegacyLossService lossService)
 {
     _accountStatusRepository       = accountStatusRepository;
     _legacyAccountStatusRepository = legacyAccountStatusRepository;
     _lossService = lossService;
 }
 public AccountStatusService(IAccountStatusRepository accountStatusRepository)
 {
     _accountStatusRepository = accountStatusRepository;
 }
 public LegacyAccountStatusSumupService(ILegacyAccountStatusQueryRepository monthlyAccountStatusRepository, IAccountStatusRepository accountStatusRepository)
 {
     _monthlyAccountStatusRepository = monthlyAccountStatusRepository;
     _accountStatusRepository        = accountStatusRepository;
 }
 public AccountStatusController(IAccountStatusRepository accountStatusRepository)
 {
     _accountStatusRepository = accountStatusRepository;
 }
 public AccountStatusManager(IAccountStatusRepository iAccountStatusRepository)
     : base(iAccountStatusRepository)
 {
     _iAccountStatusRepository = iAccountStatusRepository;
 }