Exemple #1
0
 public AccountAppServiceTests()
 {
     this.subRepositoryUserLong      = Resolve <IRepository <User, long> >();
     this.subUserRegistrationManager = Resolve <UserRegistrationManager>();
     this.subClientFavouriteManager  = Resolve <IClientFavouriteManager>();
     this.subSMSManager = Resolve <ISMSManager>();
     this.subSmartContractAppService = Resolve <ISmartContractAppService>();
     this.subAbpSession               = Resolve <IAbpSession>();
     this.subTenantCache              = Resolve <ITenantCache>();
     this.subConfiguration            = Resolve <IConfiguration>();
     this.subAbpLoginResultTypeHelper = Resolve <AbpLoginResultTypeHelper>();
     this.subRoleAppService           = Resolve <IRoleAppService>();
     this.subLogger = Resolve <ILogger <AccountAppService> >();
     this.subRepositoryAgentProfileLong          = Resolve <IRepository <AgentProfile, long> >();
     this.subRepositoryAgentCompany              = Resolve <IRepository <AgentCompany> >();
     this.subRepositoryAgentCompanyBranch        = Resolve <IRepository <AgentCompanyBranch> >();
     this.subRepositoryUserRoleLong              = Resolve <IRepository <UserRole, long> >();
     this.subRepositoryAgentPreferredCategory    = Resolve <IRepository <AgentPreferredCategory> >();
     this.subRepositoryAgentPreferredSubDistrict = Resolve <IRepository <AgentPreferredSubDistrict> >();
     this.subUserManager  = Resolve <UserManager>();
     this.subLogInManager = Resolve <LogInManager>();
     this.subSmartUserDocUploadAppService  = Resolve <ISmartUserDocUploadAppService>();
     this.subRepositorySmartAgreementLease = Resolve <IRepository <Core.Models.SmartAgreementLease> >();
     this.subRepositorySmartAgreementSell  = Resolve <IRepository <Core.Models.SmartAgreementSell> >();
     this.subRepositorySmartContract       = Resolve <IRepository <Core.Models.SmartContract> >();
     this.subRepositorySmartUserToken      = Resolve <IRepository <Core.Models.SmartUserToken> >();
     this.subAgentManager = Resolve <AgentManager>();
 }
 public AgentAppServiceTests()
 {
     this.subRepositoryAgentProfileLong = Resolve <IRepository <AgentProfile, long> >();
     this.subRepositoryAgentCompany     = Resolve <IRepository <AgentCompany> >();
     this.subHttpContextAccessor        = Resolve <IHttpContextAccessor>();
     this.subConfiguration = Resolve <IConfiguration>();
     this.subRepositoryAgentCompanyBranch        = Resolve <IRepository <AgentCompanyBranch> >();
     this.subRepositoryAgentPreferredSubDistrict = Resolve <IRepository <Core.Models.Agent.AgentPreferredSubDistrict> >();
     this.subRepositoryAgentPreferredCategory    = Resolve <IRepository <Core.Models.Agent.AgentPreferredCategory> >();
     this.subLogger      = Resolve <ILogger <AgentAppService> >();
     this.subUserManager = Resolve <UserManager>();
     this.subAbpSession  = Resolve <IAbpSession>();
     this.subSmartUserDocUploadAppService = Resolve <ISmartUserDocUploadAppService>();
     this.subAccountAppService            = Resolve <IAccountAppService>();
     this.subRepositoryAgentFlatSimpleConsolidateViewLong = Resolve <IRepository <Core.Models.View.AgentFlatSimpleConsolidateView, long> >();
     this.subAgentManager = Resolve <AgentManager>();
 }