public GetPollResultTest(IServiceFactory serviceFactory, ILogger logger) { _votingSystemService = serviceFactory.CreateVotingSystemService(); _transactionService = serviceFactory.CreateTransactionService(); _assetExchangeService = serviceFactory.CreateAssetExchangeService(); _monetarySystemService = serviceFactory.CreateMonetarySystemService(); _logger = logger; _getPolls = _votingSystemService.GetPolls(includeFinished: true).Result; }
public GetPollTest(IVotingSystemService votingSystemService, ILogger logger) { _votingSystemService = votingSystemService; _logger = logger; _getPollsReply = _votingSystemService.GetPolls(includeFinished: true).Result; }
public CastVoteTest(IVotingSystemService votingSystemService, ILogger logger) { _votingSystemService = votingSystemService; _logger = logger; }
public CreatePollTest(IVotingSystemService votingSystemService, ILogger logger) { _votingSystemService = votingSystemService; _logger = logger; }