public override void BeforeEach() { base.BeforeEach(); _riskQueries = Container.Resolve <IRiskLevelQueries>(); _riskCommands = Container.Resolve <IRiskLevelCommands>(); Container.Resolve <RiskLevelWorker>().Start(); }
public FraudController( IRiskLevelCommands commands, IRiskLevelQueries queries, BrandQueries brandQueries, IAdminQueries adminQueries) { _commands = commands; _queries = queries; _brandQueries = brandQueries; _adminQueries = adminQueries; }
public override void BeforeEach() { base.BeforeEach(); _riskQueries = Container.Resolve <IRiskLevelQueries>(); _riskCommands = Container.Resolve <IRiskLevelCommands>(); var securityTestHelper = Container.Resolve <SecurityTestHelper>(); securityTestHelper.PopulatePermissions(); securityTestHelper.CreateAndSignInSuperAdmin(); Container.Resolve <RiskLevelWorker>().Start(); }