public DkimService(IMessagePublisher messagePublisher, IDkimApiDao dao, IDkimApiConfig config, IClock clock)
 {
     _messagePublisher = messagePublisher;
     _dao    = dao;
     _config = config;
     _clock  = clock;
 }
Exemple #2
0
 public void SetUp()
 {
     _messagePublisher = A.Fake <IMessagePublisher>();
     _dao         = A.Fake <IDkimApiDao>();
     _config      = A.Fake <IDkimApiConfig>();
     _clock       = A.Fake <IClock>();
     _dkimService = new DkimService(_messagePublisher, _dao, _config, _clock);
 }
 public DkimController(IDkimApiDao dao,
                       IMessagePublisher messagePublisher,
                       IDkimService dkimService,
                       IDkimApiConfig config,
                       IEntityToApiMapper dkimEntityToApiMapper)
 {
     _dao = dao;
     _messagePublisher      = messagePublisher;
     _config                = config;
     _dkimEntityToApiMapper = dkimEntityToApiMapper;
     _dkimService           = dkimService;
 }