Ejemplo n.º 1
0
 public void SetUp()
 {
     _entityDao = A.Fake <ITlsRptEntityHistoryDao>();
     _tlsRptEntityHistoryConfig = A.Fake <ITlsRptEntityHistoryConfig>();
     _dispatcher       = A.Fake <IMessageDispatcher>();
     _log              = A.Fake <ILogger <TlsRptEntityHistory> >();
     _tlsRptRuaService = A.Fake <ITlsRptRuaService>();
     _historyEntity    = new TlsRptEntityHistory(_dispatcher, _log, _entityDao, _tlsRptEntityHistoryConfig, _tlsRptRuaService);
 }
 public TlsRptEntityHistory(
     IMessageDispatcher dispatcher,
     ILogger <TlsRptEntityHistory> log,
     ITlsRptEntityHistoryDao dao,
     ITlsRptEntityHistoryConfig tlsRptEntityHistoryConfig,
     ITlsRptRuaService ruaService)
 {
     _dispatcher = dispatcher;
     _dao        = dao;
     _tlsRptEntityHistoryConfig = tlsRptEntityHistoryConfig;
     _log        = log;
     _ruaService = ruaService;
 }